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

Class HostDir

packages/core/test/application_ref_spec.ts:219–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217 it('supports passing bootstrap options object', () => {
218 const ref = TestBed.inject(ApplicationRef);
219 @Directive({
220 host: {'[attr.data-dir]': 'value'},
221 })
222 class HostDir {
223 @Input()
224 value = 'unset';
225 }
226
227 @Component({
228 template: `{{ name }}`,

Callers

nothing calls this directly

Calls 2

DirectiveClass · 0.90
InputInterface · 0.90

Tested by

no test coverage detected