scenejs
scenejs copied to clipboard
In timeLine , i want to delete designated node what can i do?
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
@qikong333 Try code:
scene.removeItem(id);
timeline.update();
could it have some callbalk fucntion when i chick it?
@qikong333
keydown backspace key
@qikong333
keydown
backspacekey
I mean the white dots should have functions such as dragging and editing
E.g
use item.get can help me to get the keyframe , i can't get this time when i click the white dots.
I can do more operations if I can
@qikong333
SelectEvent has selectedTime
item.remove(selectedTime);
And let's check the timeline. Or I will add a function.