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

Method getTemplateData

js/module.js:139–141  ·  view source on GitHub ↗

* Returns the data to be used in the template. * This method needs to be overridden if the module wants to use a custom data. * @returns {object} The data for the template

()

Source from the content-addressed store, hash-verified

137 * @returns {object} The data for the template
138 */
139 getTemplateData () {
140 return {};
141 }
142
143 /**
144 * Called by the MagicMirror² core when a notification arrives.

Callers 1

getDomMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected