We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa2630e commit ea56f18Copy full SHA for ea56f18
1 file changed
src/container/Base.mjs
@@ -122,11 +122,12 @@ class Container extends Component {
122
/**
123
* Inserts an item or array of items at the last index
124
* @param {Object|Array} item
125
+ * @param {Boolean} [silent=false]
126
* @returns {Neo.component.Base|Neo.component.Base[]}
127
*/
- add(item) {
128
+ add(item, silent=false) {
129
let me = this;
- return me.insert(me.items ? me.items.length : 0, item)
130
+ return me.insert(me.items ? me.items.length : 0, item, silent)
131
}
132
133
0 commit comments