* Returns the layout direction of the overlay panel.
()
| 376 | * Returns the layout direction of the overlay panel. |
| 377 | */ |
| 378 | getDirection(): Direction { |
| 379 | const direction = this._config.direction; |
| 380 | |
| 381 | if (!direction) { |
| 382 | return 'ltr'; |
| 383 | } |
| 384 | |
| 385 | return typeof direction === 'string' ? direction : direction.value; |
| 386 | } |
| 387 | |
| 388 | /** Switches to a new scroll strategy. */ |
| 389 | updateScrollStrategy(strategy: ScrollStrategy): void { |
no outgoing calls
no test coverage detected