Skip to content

Instantly share code, notes, and snippets.

@zzpzaf
Created November 9, 2021 10:19
Show Gist options
  • Save zzpzaf/17bc59d6a37e557899e7beedfccf798d to your computer and use it in GitHub Desktop.
Save zzpzaf/17bc59d6a37e557899e7beedfccf798d to your computer and use it in GitHub Desktop.
Angular Directive Selectors - Combinations of selectors – Chaining example 2
import { Directive } from '@angular/core';
@Directive({
selector: 'elem.myclass[myattr]'
})
export class MyDirective {
constructor() { }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment