MCPcopy Index your code
hub / github.com/angular/components / _getOverlayConfig

Method _getOverlayConfig

src/cdk/menu/menu-trigger.ts:275–281  ·  view source on GitHub ↗

Get the configuration object used to create the overlay.

()

Source from the content-addressed store, hash-verified

273
274 /** Get the configuration object used to create the overlay. */
275 private _getOverlayConfig() {
276 return new OverlayConfig({
277 positionStrategy: this._getOverlayPositionStrategy(),
278 scrollStrategy: this.menuScrollStrategy(),
279 direction: this._directionality || undefined,
280 });
281 }
282
283 /** Build the position strategy for the overlay which specifies where to place the menu. */
284 private _getOverlayPositionStrategy(): FlexibleConnectedPositionStrategy {

Callers 1

openMethod · 0.95

Calls 1

Tested by

no test coverage detected