Use for questions about Angular 2+ directives
I am trying to write a Angular2 attribute directive to modify the behaviour of certain elements. More specifically I want …
javascript angular ionic2 angular2-directivesI am using Angular 4.3.3 with the JIT compiler and get the error below when I run my application: Property binding …
angular angular2-directivesI'm trying to figure out how I can access the selector that we pass into the @Component decorator. For example @…
angular angular2-directives angular2-components angular2-decoratorsI'm stuck on how to access and change an inputs ngModel value using a directive. The outcome of the issue …
angular angular2-directivesI have a component to which I am passing a template. Inside of this component I would like to pass …
javascript angular typescript angular2-template angular2-directivesIm using ngbDatepicker and ng2-datepicker-jalali. I use ngbDatepicker directive like below: <div class="input-group" dir="ltr"> <…
angular angular2-forms angular2-directives ng-bootstrapI started using Angular2 (final version) and i'm having some problems with *ngFor. I've built the following component tree: main …
angular angular2-directives ngforHow can I call function from directive after component's rendering? I have component: export class Component { ngAfterContentInit() { // How can i …
angular typescript angular2-directives angular2-componentsI am creating an application using angular2. I need to get a Date from user input using a calendar popover, …
angular angular2-directives ng-bootstrap maskedinputI have a simple Angular 2 directive that modifies the input value of a textbox. Note that i'm using the Model-Driven …
angular angular2-forms angular2-directives