Skip to content

Commit dad938c

Browse files
Shanon LeeShanon Lee
authored andcommitted
Add handler for deleting a child in EditDeleteComponents; handleDeleteChild need to do
1 parent a8026a1 commit dad938c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/components/home_sidebar_items/ComponentTab/EditDeleteComponents.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Description:
4040
:close-on-select="true"
4141
:options="childOptions"
4242
@select="handleAddChild"
43+
@remove="handleDeleteChild"
4344
:max-height="90"
4445
:option-height="20"
4546
:searchable="false"
@@ -258,6 +259,11 @@ export default {
258259
// this.updateActiveComponentChildrenValue(value);
259260
},
260261
262+
// Handle deleting a child
263+
handleDeleteChild(value) {
264+
//To do
265+
},
266+
261267
// delete selected state from active component
262268
// deleteState (state) {
263269
// this.deleteStateFromComponent(state)

0 commit comments

Comments
 (0)