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

Method dir

src/cdk/overlay/overlay-directives.ts:313–315  ·  view source on GitHub ↗

The element's layout direction.

()

Source from the content-addressed store, hash-verified

311
312 /** The element's layout direction. */
313 get dir(): Direction {
314 return this._dir ? this._dir.value : 'ltr';
315 }
316
317 ngOnDestroy() {
318 this._attachSubscription.unsubscribe();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected