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

Method hide

aspnet-samples/AspNetForm/Scripts/bootstrap.esm.js:2465–2478  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2463 this._backdrop.show(() => this._showElement(relatedTarget));
2464 }
2465 hide() {
2466 if (!this._isShown || this._isTransitioning) {
2467 return;
2468 }
2469 const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE$4);
2470 if (hideEvent.defaultPrevented) {
2471 return;
2472 }
2473 this._isShown = false;
2474 this._isTransitioning = true;
2475 this._focustrap.deactivate();
2476 this._element.classList.remove(CLASS_NAME_SHOW$4);
2477 this._queueCallback(() => this._hideModal(), this._element, this._isAnimated());
2478 }
2479 dispose() {
2480 EventHandler.off(window, EVENT_KEY$4);
2481 EventHandler.off(this._dialog, EVENT_KEY$4);

Callers 9

toggleMethod · 0.95
_addEventListenersMethod · 0.95
showMethod · 0.45
dataApiKeydownHandlerMethod · 0.45
showMethod · 0.45
_hideModalMethod · 0.45
bootstrap.esm.jsFile · 0.45
showMethod · 0.45
hideMethod · 0.45

Calls 4

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

Tested by

no test coverage detected