Class: EventAdapter

EventAdapter


new EventAdapter()

EventAdapter 对象 EventAdapter 通过 plugin 的形式实现多种交互方式的映射

Methods


<inner> Handler(event, jflow)

事件处理函数

Parameters:
Name Type Description
event Event

原生事件

jflow JFlow

当前jflow 对象

Type Definitions


pluginDef

EventAdapter 对象 plugin 配置

Type:
  • Object
Properties:
Name Type Description
canvas Object

canvas 相关的事件

Properties
Name Type Description
eventName EventAdapter~Handler

注册 canvas 上的事件处理

document Object

document 相关的事件

Properties
Name Type Description
eventName EventAdapter~Handler

注册 document 上的事件处理