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

Method _updateElementDirection

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

Updates the text direction of the overlay panel.

()

Source from the content-addressed store, hash-verified

412
413 /** Updates the text direction of the overlay panel. */
414 private _updateElementDirection() {
415 this._host.setAttribute('dir', this.getDirection());
416 }
417
418 /** Updates the size of the overlay element based on the overlay config. */
419 private _updateElementSize() {

Callers 2

attachMethod · 0.95
setDirectionMethod · 0.95

Calls 1

getDirectionMethod · 0.95

Tested by

no test coverage detected