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

Method hide

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

Source from the content-addressed store, hash-verified

2486 this._backdrop.show(() => this._showElement(relatedTarget));
2487 }
2488 hide() {
2489 if (!this._isShown || this._isTransitioning) {
2490 return;
2491 }
2492 const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE$4);
2493 if (hideEvent.defaultPrevented) {
2494 return;
2495 }
2496 this._isShown = false;
2497 this._isTransitioning = true;
2498 this._focustrap.deactivate();
2499 this._element.classList.remove(CLASS_NAME_SHOW$4);
2500 this._queueCallback(() => this._hideModal(), this._element, this._isAnimated());
2501 }
2502 dispose() {
2503 EventHandler.off(window, EVENT_KEY$4);
2504 EventHandler.off(this._dialog, EVENT_KEY$4);

Callers 15

toggleMethod · 0.95
_addEventListenersMethod · 0.95
script.jsFile · 0.45
oFunction · 0.45
onErrorFunction · 0.45
jquery-3.7.1.jsFile · 0.45
jquery-3.7.1.jsFile · 0.45
showMethod · 0.45
dataApiKeydownHandlerMethod · 0.45
showMethod · 0.45
_hideModalMethod · 0.45
bootstrap.jsFile · 0.45

Calls 4

_hideModalMethod · 0.95
_isAnimatedMethod · 0.95
deactivateMethod · 0.45
_queueCallbackMethod · 0.45

Tested by

no test coverage detected