MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / onhide

Function onhide

src/utils/helpers.js:184–186  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

182
183 let hide = null;
184 const onhide = () => {
185 if (hide) hide();
186 };
187
188 const msg = this.errorMessage(err, ...args);
189 alert(strings.error, msg, onhide);

Callers 4

index.jsFile · 0.50
destroyFunction · 0.50
hideFunction · 0.50
hideImmediatelyFunction · 0.50

Calls 1

hideFunction · 0.50

Tested by

no test coverage detected