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