UNPKG

@leafer-in/editor

Version:
18 lines (11 loc) 408 B
import { IEditorMoveEvent } from '@leafer-in/interface' import { EditorEvent } from './EditorEvent' export class EditorMoveEvent extends EditorEvent implements IEditorMoveEvent { static BEFORE_MOVE = 'editor.before_move' static MOVE = 'editor.move' readonly moveX: number readonly moveY: number constructor(type: string, data?: IEditorMoveEvent) { super(type, data) } }