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

Method _updateElementDirection

src/cdk/overlay/overlay-ref.ts:431–433  ·  view source on GitHub ↗

Updates the text direction of the overlay panel.

()

Source from the content-addressed store, hash-verified

429
430 /** Updates the text direction of the overlay panel. */
431 private _updateElementDirection() {
432 this._host.setAttribute('dir', this.getDirection());
433 }
434
435 /** Updates the size of the overlay element based on the overlay config. */
436 private _updateElementSize() {

Callers 2

attachMethod · 0.95
setDirectionMethod · 0.95

Calls 1

getDirectionMethod · 0.95

Tested by

no test coverage detected