Hi
For .AddEventListener and .CallBack, is it possible to specify the event from a string?
For example
'add an event
Sub AddEvent(module As Object, eventType as string)
'define the method to be called
Dim sEvent as string = $"game_${eventType}"$
Dim e as BANanoEvent
'define the callback
Dim...
Ola
I kindly request some help defining an event listener for this type of function..
tree.on('collapse', function (e, node, id) {
alert('collapse is fired.');
});
My tree is currently a BANanoObject, which is fine, just need to figure out the next part of the equation...