MCPcopy
hub / github.com/angular/components / _updateElementDirection

Method _updateElementDirection

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

Updates the text direction of the overlay panel.

()

Source from the content-addressed store, hash-verified

402
403 /** Updates the text direction of the overlay panel. */
404 private _updateElementDirection() {
405 this._host.setAttribute('dir', this.getDirection());
406 }
407
408 /** Updates the size of the overlay element based on the overlay config. */
409 private _updateElementSize() {

Callers 2

attachMethod · 0.95
setDirectionMethod · 0.95

Calls 1

getDirectionMethod · 0.95

Tested by

no test coverage detected