[AngularJS] Re: [Angular 2] Custom Components and Local Variables

2017-07-31 Thread Sanansaattaja
thank you, I'll try it ! Am Montag, 31. Juli 2017 16:12:33 UTC+2 schrieb Sander Elias: > > No, the ng2know does not depend on template ref vars.It does supports the > changed callback as I put in the sample. Template ref vars >

[AngularJS] Re: [Angular 2] Custom Components and Local Variables

2017-07-31 Thread Sander Elias
No, the ng2know does not depend on template ref vars.It does supports the changed callback as I put in the sample. Template ref vars are not build to be used like that. You are supposed to use callbacks for your use-c

[AngularJS] Re: [Angular 2] Custom Components and Local Variables

2017-07-31 Thread Sanansaattaja
Hi Elias, thank you for the answer - don't know though if it exactly answers my problem. Does the call produce local variables like the #knob1, #knob2 and so on? The component (ng2-knob) relies on a specified local variable Regards, Christian Am Montag, 31. Juli 2017 11:58:43 UTC+2 schrieb Sa

[AngularJS] Re: [Angular 2] Custom Components and Local Variables

2017-07-31 Thread Sander Elias
Hi Sanansaattaje, Put the values in an array, you can then use this array in your controller. In your view you dom something like: Of course using an actual array from your controller makes this useful. Regards Sander -- You received this message because you are subscribed to the Google Gr