MCPcopy Create free account
hub / github.com/angular/angular / Dir

Class Dir

packages/core/test/acceptance/host_directives_spec.ts:77–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 }
76
77 @Directive({
78 selector: '[dir]',
79 host: {'host-attr': '', 'class': 'dir', 'style': 'width: 50px'},
80 hostDirectives: [HostDir],
81 })
82 class Dir {
83 constructor() {
84 logs.push('Dir');
85 }
86 }
87
88 @Component({
89 template: '<div dir></div>',

Callers

nothing calls this directly

Calls 5

DirectiveClass · 0.90
ɵɵdefineDirectiveFunction · 0.90
OutputInterface · 0.90
InputInterface · 0.90

Tested by

no test coverage detected