MCPcopy Create free account
hub / github.com/angular/components / constructor

Method constructor

src/material/chips/chip-action.ts:85–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 }
84
85 constructor() {
86 inject(_CdkPrivateStyleLoader).load(_StructuralStylesLoader);
87 if (this._elementRef.nativeElement.nodeName === 'BUTTON') {
88 this._elementRef.nativeElement.setAttribute('type', 'button');
89 }
90 }
91
92 focus() {
93 this._elementRef.nativeElement.focus();

Callers

nothing calls this directly

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected