Expose the event that caused a change to setExpanded and setChecked
mherzkamp opened this issue · comments
When setting expanded or checked items, I would like to perform different actions depending on whether the Ctrl key is down or not. In javascript events, this information is available as event.ctrlKey
. However, the event object that caused the change in the state is not passed through to the setExpanded
and setChecked
functions, they currently only receive an array of values and a nodeInfo object. Would it be possible to pass the event that caused the change as third parameter?