Questions tagged as 'angular'

0
answers

Scroll to an element within another component in Angular 4

I am scrolling an element of a component different from where my button is located. I'm using the library ng2-smooth-scroll My button is <app-button-view> and the div where I want to arrive with the scroll is in <app-home...
asked by 21.03.2018 / 23:14
0
answers

selected in multiple select in angular 4

How can I do a selected in angle 4 and the data coming from a json. my model is export class PvuserTenant{ constructor( public id: number, public int_user_id: string, public int_tenant_id: string, public...
asked by 22.03.2018 / 04:12
0
answers

RadListView does not work

I have this part of html in my code and I do not know what I'm doing wrong. <GridLayout rows="auto,*,*" row="0"> <Label text="TIENES SELECCIONADO: " class="sel" row="0"></Label> <WrapLay...
asked by 31.03.2018 / 10:31
0
answers

Update the view of the child component, when the values of the parent change. Angular

I have a parent component that retrieves data from a service that I have to be calling every X time. I do this with a setInterval This parent component passes through @Input various parameters to a child component that is the one that...
asked by 22.03.2018 / 16:08
0
answers

Integrate Jquery and Bootstrap in Angular (Symfony)

I am developing an application with symfony and angular, to my surprise, that when I get to the angle part, and I try to implement bootstrap and jquery, it tells me that it is not possible to load the resources, the error message that comes out...
asked by 28.03.2018 / 13:15
1
answer

How to put an input file which can be clicked on an image?

Please I would like you to help me within a div place an input file to which I can select an image. <div class="" (click)="()" > <input id="" type="file" (change)="()"> <img class="" src={{img}}...
asked by 28.03.2018 / 17:03
1
answer

Cross-Origin Request Blocked in Node and Angular

When I want to open my web application, the error appears in the console: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at link . (Reason: CORS header 'Access-Control-Allow-Origin' missing). It...
asked by 20.03.2018 / 07:17
0
answers

URL with fixes in Angular

Is it possible to send a variable that contains an array of id in a url from one component to another in Angular? What I try to do is modifying the variable dynamically because I do not start how many ids to send and once I finish sending the va...
asked by 19.03.2018 / 21:20
1
answer

Avoid special characters on routes

I am building a filter for a project, one of the filters is filled with this arrangement: this.grupoHorario = ['Todos', 'Madrugada', 'Mañana', 'Tarde', 'Noche']; When the user selects Tomorrow the route that the console shows me is the fo...
asked by 21.03.2018 / 18:06
1
answer

Save a value of a link in Angular 5 to a cookie

One question, I'm new to this and I'm trying to take a value of one in angular 5 and pass it to ts of the component to save it in cookie . <a href="#" onclick="pulsar()" [routerLink]="['/rutas']" ng-value="Madrid" id="n...
asked by 14.03.2018 / 19:06