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

Method dir

src/material/button-toggle/button-toggle.ts:251–253  ·  view source on GitHub ↗

The layout direction of the toggle button group.

()

Source from the content-addressed store, hash-verified

249
250 /** The layout direction of the toggle button group. */
251 get dir(): Direction {
252 return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';
253 }
254
255 /** Event emitted when the group's value changes. */
256 @Output() readonly change: EventEmitter<MatButtonToggleChange> =

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected