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

Method _getLayoutDirection

src/material/tabs/tab-body.ts:274–276  ·  view source on GitHub ↗

The text direction of the containing app.

()

Source from the content-addressed store, hash-verified

272
273 /** The text direction of the containing app. */
274 _getLayoutDirection(): Direction {
275 return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';
276 }
277
278 /** Whether the provided position state is considered center, regardless of origin. */
279 _isCenterPosition(): boolean {

Callers 5

ngAfterContentInitFunction · 0.80
_setTabFocusFunction · 0.80
_updateTabScrollPositionFunction · 0.80
_scrollToLabelFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected