MCPcopy
hub / github.com/MagicMirrorOrg/MagicMirror / hideModule

Function hideModule

js/main.js:690–693  ·  view source on GitHub ↗

* Hide the module. * @param {Module} module The module to hide. * @param {number} speed The speed of the hide animation. * @param {() => void} callback Called when the animation is done. * @param {object} [options] Optional settings for the hide method.

(module, speed, callback, options)

Source from the content-addressed store, hash-verified

688 * @param {object} [options] Optional settings for the hide method.
689 */
690 hideModule (module, speed, callback, options) {
691 module.hidden = true;
692 _hideModule(module, speed, callback, options);
693 },
694
695 /**
696 * Show the module.

Callers

nothing calls this directly

Calls 1

_hideModuleFunction · 0.85

Tested by

no test coverage detected