I want to achieve an effect by Konva, a High Level API tool based on HTML 5 canvas. The effect is like PS, assuming dragging something on layer, but when pass "SPACE" , all dragging become dragging the layer.
Thus, when Dragging is not started by any item, it is easy to process. But if it is dragging something, I don't know how to switch the drag event processor.
Also, another question is, if the drag event is first trigger by item on the layer but not the layer itself, how to bubbling up the event from the direct target item to its parent and finally notice the layer.