C
C
Coder3212017-03-24 01:05:42
Angular
Coder321, 2017-03-24 01:05:42

Dynamic attribute creation in Angular 2?

Is there such a template
<input #input>
, is it possible to dynamically add the formControl attribute to this input and pass control to it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aleksei Podgaev, 2017-03-24
@alexiusp

Isn't that how it works?
https://angular.io/docs/ts/latest/guide/cheatsheet.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question