Created
November 9, 2021 09:43
-
-
Save zzpzaf/e7d1cfcbdcd6d1c4b5459aa48990a090 to your computer and use it in GitHub Desktop.
Angular Directive selectors - Element Selector example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Directive } from '@angular/core'; | |
@Directive({ | |
selector: 'elem' | |
}) | |
export class MyDirective { | |
constructor() { } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment