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

Function completeClose

src/material/datepicker/datepicker-base.ts:674–681  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

672 typeof this._focusedElementBeforeOpen.focus === 'function';
673
674 const completeClose = () => {
675 // The `_opened` could've been reset already if
676 // we got two events in quick succession.
677 if (this._opened) {
678 this._opened = false;
679 this.closedStream.emit();
680 }
681 };
682
683 if (this._componentRef) {
684 const {instance, location} = this._componentRef;

Callers 1

closeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected