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

Method dispose

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

Source from the content-addressed store, hash-verified

3300 this._enter();
3301 }
3302 dispose() {
3303 clearTimeout(this._timeout);
3304 EventHandler.off(this._element.closest(SELECTOR_MODAL), EVENT_MODAL_HIDE, this._hideModalHandler);
3305 if (this._element.getAttribute('data-bs-original-title')) {
3306 this._element.setAttribute('title', this._element.getAttribute('data-bs-original-title'));
3307 }
3308 this._disposePopper();
3309 super.dispose();
3310 }
3311 show() {
3312 if (this._element.style.display === 'none') {
3313 throw new Error('Please use show on visible elements');

Callers

nothing calls this directly

Calls 3

_disposePopperMethod · 0.95
offMethod · 0.45
disposeMethod · 0.45

Tested by

no test coverage detected