Class: EventDispatcher

EventDispatcher

ツールのイベントを管理するクラス
Class to manage tool events

new event.EventDispatcher ()

Methods

addEventListener (type, callback)

イベント登録関数
event registration function

NameTypeDescription
typestring
callbackfunction

dispatchEvent (type, event)void

登録したイベントの起動関数
Launch function for registered events

NameTypeDefaultDescription
typestring
eventMouseEvent | Eventnulloptional
Returns:
TypeDescription
void