Created
November 9, 2021 10:00
-
-
Save zzpzaf/8a96aaa9d707c33b3144dd056018a125 to your computer and use it in GitHub Desktop.
Angular Directive Selectors - Combinations of selectors – Chaining example using OR / commas
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,[myattr]' | |
}) | |
export class MyDirective { | |
constructor() { } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment