* Add new components to the wrapper's children. It's the same * as 'cmp.getComponents().add(...)' * @param {Object|[Component]|Array } component Component/s to add * @param {string} [component.tagName='div'] Tag name * @param {string} [component.type=''] Type of the component. Ava
(component: ComponentAdd, opt: AddComponentsOption = {})
| 500 | * }); |
| 501 | */ |
| 502 | addComponent(component: ComponentAdd, opt: AddComponentsOption = {}): Component | Component[] { |
| 503 | return this.getComponents().add(component, opt); |
| 504 | } |
| 505 | |
| 506 | /** |
| 507 | * Render and returns wrapper element with all components inside. |
no test coverage detected