MCPcopy Create free account
hub / github.com/devforth/painterro / hide

Method hide

js/main.js:1268–1282  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1266 }
1267
1268 hide() {
1269 if (this.isMobile) {
1270 this.body.style['overflow-y'] = this.origOverflowY;
1271 }
1272 this.shown = false;
1273 this.baseEl.setAttribute('hidden', '');
1274 if (this.holderEl) {
1275 this.holderEl.setAttribute('hidden', '');
1276 }
1277 this.removeEventHandlers();
1278 if (this.params.onHide !== undefined) {
1279 this.params.onHide();
1280 }
1281 return this;
1282 }
1283
1284 setZoom(zoomPercentage) {
1285 if (!this.size) {

Callers 4

doCloseMethod · 0.95
constructorMethod · 0.95
saveMethod · 0.95
applyStateMethod · 0.45

Calls 1

removeEventHandlersMethod · 0.95

Tested by

no test coverage detected