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

Method constructor

src/material/core/option/option.ts:139–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137 readonly _stateChanges = new Subject<void>();
138
139 constructor() {
140 const styleLoader = inject(_CdkPrivateStyleLoader);
141 styleLoader.load(_StructuralStylesLoader);
142 styleLoader.load(_VisuallyHiddenLoader);
143 this._signalDisableRipple = !!this._parent && isSignal(this._parent.disableRipple);
144 }
145
146 /**
147 * Whether or not the option is currently active and ready to be selected.

Callers

nothing calls this directly

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected