* Automatically set the specified property of all childs to the given value * @param {string} prop - property name * @param {object} value - property value * @param {boolean} [recursive=false] - recursively apply the value to child containers if true
(prop, value, recursive)
| 873 | * @param {boolean} [recursive=false] - recursively apply the value to child containers if true |
| 874 | */ |
| 875 | setChildsProperty(prop, value, recursive) { |
| 876 | this.forEach((child) => { |
| 877 | if (recursive === true && child instanceof Container) { |
| 878 | child.setChildsProperty(prop, value, recursive); |
| 879 | } |
| 880 | child[prop] = value; |
| 881 | }); |
| 882 | } |
| 883 | |
| 884 | /** |
| 885 | * Move the child in the group one step forward (z depth). |
no test coverage detected