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

Function removeActions

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

* Removes a portal containing action buttons from the datepicker. * @param portal Portal to be removed.

(portal: TemplatePortal)

Source from the content-addressed store, hash-verified

634 * @param portal Portal to be removed.
635 */
636 removeActions(portal: TemplatePortal): void {
637 if (portal === this._actionsPortal) {
638 this._actionsPortal = null;
639 this._componentRef?.instance._assignActions(null, true);
640 }
641 }
642
643 /** Open the calendar. */
644 open(): void {

Callers

nothing calls this directly

Calls 1

_assignActionsMethod · 0.80

Tested by

no test coverage detected