This should be done using an attribute modification, rather than at the
constructor level.
}
config.srcNode = '#'+id;
- config.visible = config.visible || false;
config.center = config.centered && true;
config.centered = false;
config.COUNT = COUNT;
}
return value;
}
+ },
+
+ /**
+ * Boolean indicating whether or not the Widget is visible.
+ *
+ * We override this from the default Widget attribute value.
+ *
+ * @attribute visible
+ * @default false
+ * @type Boolean
+ */
+ visible: {
+ value: false
}
});