MCPcopy Create free account
hub / github.com/aspnet/AzureSignalR-samples / close

Method close

aspnet-samples/AspNetForm/Scripts/bootstrap.js:871–879  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

869
870 // Public
871 close() {
872 const closeEvent = EventHandler.trigger(this._element, EVENT_CLOSE);
873 if (closeEvent.defaultPrevented) {
874 return;
875 }
876 this._element.classList.remove(CLASS_NAME_SHOW$8);
877 const isAnimated = this._element.classList.contains(CLASS_NAME_FADE$5);
878 this._queueCallback(() => this._destroyElement(), this._element, isAnimated);
879 }
880
881 // Private
882 _destroyElement() {

Callers 15

_closeMethod · 0.45
_closeMethod · 0.45
UtMethod · 0.45
UtMethod · 0.45
WebForm_DoCallbackFunction · 0.45
MicrosoftAjax.jsFile · 0.45

Calls 2

_destroyElementMethod · 0.95
_queueCallbackMethod · 0.45

Tested by

no test coverage detected