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