0
0
llucycodes42
The @Directive annotation is used to indicate that the class contains a directive. The selector is used to identify the directive.
Library: angular
Shortcut: a_directive
import { Directive } from '@angular/core';
@Directive({ selector: '[selector-name]' })
export class NameDirective {
constructor() { }
}