Questions tagged as 'component'

1
answer

Service variable comes as UNDEFINED in the Angular component 2

I can not get a variable from a non-angular service. I have the companies-index.component.ts and the companies-crud.service.ts. I would like to get a service variable in the component but it always comes as UNDEFINED, but if I run within the ser...
asked by 24.11.2016 / 12:41
0
answers

Pass API data to another component react

I'm bringing some API data from a filter I created, it's just right that I do not know how to get this output and play the normal listing component. Services Listing Component /** * @license * 2018 CarFix do Brasil. * All Rights Reserved...
asked by 11.12.2018 / 13:57
1
answer

Update component / object Angular 6

I have 3 components that exchange an object with each other, how do I when to update one another also update alone? Example: I have components 1, 2 and 3, 1 calls 2 by passing an object and 2 calls 3 by passing the same object, all this in th...
asked by 24.10.2018 / 19:31
0
answers

Pass value from a VueJs component to a specific component in the Laravel blade, having more than one of the same component of the screen

Talk to me, I have a tremendous doubt. I have in my blade in Laravel the contents of components that I created, like this: //um select personalizado <select-component></select-component> //tabela com categorias <data-table-co...
asked by 31.07.2018 / 22:09
0
answers

How to change the color of a part of the text of an InputField via code in UnityEngine.UI?

I would like to change the color of certain words in a text from an InputField via code. Something similar to programming tools, such as Visual Studio, in which certain words are highlighted with different colors. Here is an illustration:...
asked by 27.06.2018 / 05:16
0
answers

Use @keyframes of css with angle 5.2.6

I'm migrating a project and it had some animations. Same there are animations in the css with @keyframes, but by putting directly into the component's css and viewing the generated page of the angle does not work. I took a look at animations...
asked by 27.02.2018 / 21:32
0
answers

Control Components Children Angular 2+

I need to create a component that controls other components, the idea is to set up a parent component (grid-component) that controls the child component (user-form-component). Something like this: <grid-component> <user-form-comp...
asked by 30.01.2018 / 21:01
1
answer

directives angular js2

import { Component } from '@angular/core'; import { AuthDirective } from '../utils/auth.directive'; import { Router } from '@angular/router'; import { HttpClientService } from '../utils/http-client.service'; import { BaseAddressService } from '.....
asked by 05.09.2017 / 19:23
1
answer

How to pass an object between independent components

I have a problem, I need to pass an object between two independent components but I am not able to, I have tried with the $ broadcast but without success, they follow my components to have the ideas of the structure. The goal was to pass an obje...
asked by 26.05.2017 / 11:07
1
answer

SlimSelect + Angular 6

Hello, this is the first time I use SlimSelect and I'm having trouble making it work. I created a test-only component called 'AddConta' and in its method 'ngOnInit ()', I put what the SlimSelect documentation requested. Exactly as the picture...
asked by 04.01.2019 / 01:44