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

Function _getLayoutDirection

src/material/tabs/paginated-tab-header.ts:443–445  ·  view source on GitHub ↗

The layout direction of the containing app.

()

Source from the content-addressed store, hash-verified

441
442 /** The layout direction of the containing app. */
443 _getLayoutDirection(): Direction {
444 return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';
445 }
446
447 /** Performs the CSS transformation on the tab list that will cause the list to scroll. */
448 _updateTabScrollPosition() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected