Thanks to visit codestin.com Credit goes to github.com
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 09eb715 commit 31f8d7cCopy full SHA for 31f8d7c
src/js/component.js
@@ -689,8 +689,8 @@ class Component {
689
* Remove a child `Component` from this `Component`s list of children. Also removes
690
* the child `Component`s element from this `Component`s element.
691
*
692
- * @param {Component} component
693
- * The child `Component` to remove.
+ * @param {string|Component} component
+ * The name or instance of a child to remove.
694
*/
695
removeChild(component) {
696
if (typeof component === 'string') {
0 commit comments