In timeLine , i want to delete designated node what can i do?
qikong333 opened this issue · comments
qikong333 commented
In timeLine
i want to delete designated node what can i do?
.on('select', (e: SelectEvent) => {
console.log(e.selectedItem);
});
it only get the track,it can not get node in the track. I want to get the node and controll it
Daybrush (Younkue Choi) commented
@qikong333
Try code:
scene.removeItem(id);
timeline.update();
qikong333 commented
Daybrush (Younkue Choi) commented
keydown backspace
key
qikong333 commented
keydown
backspace
key
I mean the white dots should have functions such as dragging and editing
qikong333 commented
Daybrush (Younkue Choi) commented
SelectEvent has selectedTime
item.remove(selectedTime);
And let's check the timeline. Or I will add a function.