Most voted "angular2-directives" questions
7 questions
Sort by count of
-
8
votes2
answers2209
viewsHow to Extend/Inherit Angular2 Component?
Doubt I would like to create extensions for some components already implemented in Angular 2, without having to rewrite them almost completely, because the base component could undergo changes and I…
-
1
votes1
answer344
viewsWhenever I use this error Syntaxerror: Unexpected token
car-master.component.ts import {Component} from '@angular/core'; import {Car} from './car'; import {CarDetailComponent} from './car-detail.Component'; @Component({ selector: 'my-car', templateUrl:…
-
1
votes1
answer669
viewsDirective: lock double click on a button
Hello, I have a directive to lock the double click buttons on my system... However, when clicking a button that is "calling" the directive, it does not do its function (e.g., if the button is…
-
0
votes1
answer199
viewsangular 2 - Problem when calling directive
Good afternoon, you guys.... angular I would like your help if possible. I’m having trouble using a directive. We created a directive in a directive directory, (app> Directive) but within my form…
-
0
votes1
answer356
viewsHow to handle DIV with angular 2
I have 2 Divs and would like to manipulate them with buttons. I have 2 Divs. When one appears the other is hidden, vice versa. Can someone help me ? My version of Angular is 5. Function1 Function2…
-
0
votes1
answer1028
viewsClick Outside Angular 6
I upgraded my Angular from 4 to 6, and consequently had a problem with my Outside click directive, it stopped working on all components. my directive: import { Directive, Output, EventEmitter,…
-
-2
votes1
answer72
viewsUse custom folder directive
I created this directive inside a directive folder app |_ diretivas |_ click-outside.directive.ts My directive is like this: import { Directive, Output, EventEmitter, ElementRef, HostListener } from…