MCPcopy
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / close

Method close

assets/js/slider.js:69–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67 }
68
69 close() {
70 if (!this.activeId) return;
71 this.emitClosing();
72 this.activeElement.classList.remove('opened');
73 const pageRootElement = document.querySelector('html')
74 pageRootElement.classList.remove('pushbar_locked');
75 pageRootElement.removeAttribute('pushbar')
76 this.activeId = null;
77 this.activeElement = null;
78 }
79}

Callers 8

handleCloseEventMethod · 0.95
handleKeyEventMethod · 0.95
openMethod · 0.95
showPreviewFunction · 0.80
worldclock.jsFile · 0.80
html2canvas.jsFile · 0.80
jquery.bundle.jsFile · 0.80
cvFunction · 0.80

Calls 1

emitClosingMethod · 0.95

Tested by

no test coverage detected