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

Method constructor

src/material/core/option/optgroup.ts:77–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75 _inert: boolean;
76
77 constructor() {
78 const parent = inject<MatOptionParentComponent>(MAT_OPTION_PARENT_COMPONENT, {optional: true});
79 this._inert = parent?.inertGroups ?? false;
80 }
81}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected