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

Function _getDialogStrategy

src/material/datepicker/datepicker-base.ts:806–808  ·  view source on GitHub ↗

Gets a position strategy that will open the calendar as a dropdown.

()

Source from the content-addressed store, hash-verified

804
805 /** Gets a position strategy that will open the calendar as a dropdown. */
806 private _getDialogStrategy() {
807 return createGlobalPositionStrategy(this._injector).centerHorizontally().centerVertically();
808 }
809
810 /** Gets a position strategy that will open the calendar as a dropdown. */
811 private _getDropdownStrategy() {

Callers

nothing calls this directly

Calls 3

centerVerticallyMethod · 0.80
centerHorizontallyMethod · 0.80

Tested by

no test coverage detected