事件模块
Members
-
staticndoo.event.initedboolean
-
init token
-
staticndoo.event.TYPE_ONnumber
-
暂存数据类型
-
staticndoo.event.TYPE_TRIGGERnumber
-
暂存数据类型
Methods
-
staticndoo.event.off()
ndoo_prep.js, line 113 -
off api
-
staticndoo.event.on(eventName, callback)
ndoo_prep.js, line 79 -
on api
Name Type Description eventName
string 事件名称 callback
function 回调函数 -
staticndoo.event.trigger(eventName, eventType, data)
ndoo_prep.js, line 95 -
trigger api
Name Type Description eventName
string 事件名称 eventType
string 事件类型 data
variable 数据类型