Use for questions about Angular 2+ directives
I sometimes have a component that can receive text like this: text www.website.com But I would like to …
angular typescript angular2-routing angular2-template angular2-directivesThis is the markup I want to place the returned value: <h2>{{getSelectedUserName}}</h2> This is …
angular angular2-directives typescript1.8What is the difference between Renderer and ElementRef? In Angular both are used for DOM Manipulation. I am currently using …
angular angular2-directives elementref angular-renderer2 angular-rendererWhat is the best practice to check if user has scrolled to the bottom of the page in Angular2 without …
angular angular2-template angular2-directivesI'm wanting to setup a string property on a component in my constructor, but when I try something like this @…
angular angular2-directivesI'm pretty new building directives with Angular2. What I want is to create a popup directive that will wrap the …
html angular angular2-directives angular-templateSuppose I have a component with this template: <div class="frame"> <span class="user-defined-text">{{text}}</…
css angular angular2-directivesI have an odd requirement and was hoping for some help. I need to focus on the first found invalid …
javascript angular angular2-forms angular2-directivesIn my app I want to automatically set focus on first field of form on component load. Can anyone please …
angular angular2-template angular2-directives angular2-formsI understand that provider is for getting service from another class but what is multi-provider and token thing? And also …
angular angular2-directives angular2-services angular2-forms