Skip to content

Instantly share code, notes, and snippets.

@zzpzaf
Created November 9, 2021 10:00
Show Gist options
  • Save zzpzaf/dee0a0a776af6a55d6ac5b6debd00035 to your computer and use it in GitHub Desktop.
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
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