问题
Is there any way to handle, mouse click, for example on disabled element? My task is to have disabled list and make it enabled after double click on it.
回答1:
A disabled Node does not receive mouse or key events.
See the official documentation.
You could wrap the node into another node and handle the mouse events there in case the child node is disabled.
来源:https://stackoverflow.com/questions/30341840/handle-event-on-disabled-node