The tag has no usage guidance.

learn more…| top users | synonyms

0
votes
1answer
16 views

Angular component tag bind method

I am trying to set the width and height of a component alongside its initial declaration in a parent component's html. Having the following component tag (in the parent's html):<app-ipe-artboard [...
0
votes
1answer
34 views

How to set spaces between binding tags in HTML code style in InteliJ for TypeScript elements?

Instead of having the default <h1>{{typeScriptVar}}</h1> when binding elements in Angular, I want to set it to <h1>{{ typeScriptVar }}</h1> when I press the format code ...
1
vote
1answer
42 views

Angular Tutorial: Tour of Heroes lesson 2: data binding to hero from selectedHero

In Angular tutorial lesson 2 on https://embed.plnkr.co/?show=previewI can see in HeroComponent template, [(ngModel)] is 2-way binding the selectedHero.name as the input value changes. How come it's ...
0
votes
1answer
49 views

Can an object be notified when a component object changes in Angular 2/4?

In Angular, a component can receive as @Input() a variable or object. Whenever the variable changes, Angular notifies the component. Very cool...I'm trying to build an app that shows a ng2-tree ...
2
votes
2answers
82 views

Angular - Is binding a component method to DOM target property a wrong practice?

Say, I have a component which is used as following:<health-renderer[health]="getHealth()"[label]="label"><health-renderer>After reading data-binding related parts from ...
0
votes
1answer
20 views

AngularJS: Applying a function to 2-way data binding with a reroll button (reloadRoute??)

AngularJS APPI would like to understand how I can solve this issue of the infinite digest Loop, should I write a conditional? The objective is to use angular's 2-way data binding, but I need to ...
2
votes
1answer
79 views

How can I bind 2 variables inside 1 property binding in angular 2?

I'm trying to dynamically generate and use form controls from my json data. A simple experiment I came up with to figure out the mechanics I need to apply goes as follows.variables defined in class...
0
votes
1answer
83 views

Angular textarea data binding

I am able to bind the data from a textarea on to the page whilst typing but how am I able to get the returns placed in the textarea?My current code is:-app.component.html<div class="ui ...
0
votes
0answers
1k views

Angular 4 view is not updating when model is changed

I have an Angular 4 component that retrieves data from a service and then updates a view. When my service retrieves the data and updates the component's property, the property does not update in the ...
1
vote
4answers
87 views

Why passing custom object in @Input doesn't work?

I am trying to pass a custom object through @Input. But, I'm getting null as output. This is my child component class: import { Component, OnInit, Input } from '@angular/core';...
0
votes
1answer
47 views

A object change to undefined?

product.service.ts:import { Injectable } from '@angular/core';import { Http, Response } from '@angular/http';import { Observable } from "rxjs/Observable";import 'rxjs/add/operator/map'@...
1
vote
0answers
445 views

even though pagination works for the datatable but angular2-datatable not displaying data

I am getting the response as an array of size 9 from one rest service, and that response I am assigning to angular2-datatable [mfData] property.On button click I am opening one modal and inside that ...
2
votes
1answer
191 views

Data Binding causes ExpressionChangedAfterItHasBeenCheckedError

I'm new to Angular 4. I have a data binding field like below. But somehow, there is an ExpressionChangedAfterItHasBeenCheckedError.<form><div><h2>Hello {{input.value}}</h2&...
0
votes
0answers
133 views

toggle checkbox Angular 2

Hi am using angular 2 data-table in my project.my tbody:<tbody><tr *ngFor="let item of main.data; let ndx=index"><td><mfRowSelector [...
2
votes
1answer
163 views

String interpolation in Angular2 event binding

I'm using an ngFor to list my data, and would like to be able to click an element and have it call a method in my component class, identifying which element of the data it is. My attempts basically ...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,