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

Method role

src/material/chips/chip-set.ts:100–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98 /** The ARIA role applied to the chip set. */
99 @Input()
100 get role(): string | null {
101 if (this._explicitRole) {
102 return this._explicitRole;
103 }
104
105 return this.empty ? null : this._defaultRole;
106 }
107
108 /** Tabindex of the chip set. */
109 @Input({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected