* Set the module data. * @param {object} data The module data
(data)
| 210 | * @param {object} data The module data |
| 211 | */ |
| 212 | setData (data) { |
| 213 | this.data = data; |
| 214 | this.name = data.name; |
| 215 | this.identifier = data.identifier; |
| 216 | this.hidden = false; |
| 217 | this.hasAnimateIn = false; |
| 218 | this.hasAnimateOut = false; |
| 219 | |
| 220 | this.setConfig(data.config, data.configDeepMerge); |
| 221 | } |
| 222 | |
| 223 | /** |
| 224 | * Set the module config and combine it with the module defaults. |
no test coverage detected