|
delete(child, parent) { |
|
parent.deleteChild(child); |
|
} |
Should name the methods called delete and .deleteChild .remove and .removeChild
Without this, if the ~rightDrawer child of <Drawer> is removed, we get errors about missing nodeOps.removeChild method.
ui-drawer/src/ui-drawer/vue3/index.ts
Lines 23 to 25 in eb67b3b
Should name the methods called
deleteand.deleteChild.removeand.removeChildWithout this, if the ~rightDrawer child of
<Drawer>is removed, we get errors about missingnodeOps.removeChildmethod.