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

Method getHeader

js/module.js:119–121  ·  view source on GitHub ↗

* Generates the header string which needs to be displayed if a user has a header configured for this module. * This method is called by the MagicMirror² core, but only if the user has configured a default header for the module. * This method needs to be overridden if the module wants to display

()

Source from the content-addressed store, hash-verified

117 * @returns {string} The header to display above the header.
118 */
119 getHeader () {
120 return this.data.header;
121 }
122
123 /**
124 * Returns the template for the module which is used by the default getDom implementation.

Callers 2

createDomObjectsFunction · 0.80
_updateDomFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected