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

Function showModule

js/main.js:702–705  ·  view source on GitHub ↗

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

(module, speed, callback, options)

Source from the content-addressed store, hash-verified

700 * @param {object} [options] Optional settings for the show method.
701 */
702 showModule (module, speed, callback, options) {
703 // do not change module.hidden yet, only if we really show it later
704 _showModule(module, speed, callback, options);
705 },
706
707 // Return all available module positions.
708 getAvailableModulePositions: modulePositions

Callers

nothing calls this directly

Calls 1

_showModuleFunction · 0.85

Tested by

no test coverage detected