mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
add original event to control events.
This commit is contained in:
@ -4,8 +4,8 @@
|
||||
class="neko-overlay"
|
||||
tabindex="0"
|
||||
:style="{ cursor }"
|
||||
@click.stop.prevent="$emit('onAction', 'click')"
|
||||
@contextmenu.stop.prevent="$emit('onAction', 'contextmenu')"
|
||||
@click.stop.prevent="$emit('onAction', { action: 'click', target: $event })"
|
||||
@contextmenu.stop.prevent="$emit('onAction', { action: 'contextmenu', target: $event })"
|
||||
@wheel.stop.prevent="onWheel"
|
||||
@mousemove.stop.prevent="onMouseMove"
|
||||
@mousedown.stop.prevent="onMouseDown"
|
||||
|
Reference in New Issue
Block a user