ClEventHandler

ClEventHandler

new ClEventHandler()

Source:

Class representing ClEventHandler

Methods

(static) addHandler(eventName, handler)

Source:

add handle for events

Parameters:
Name Type Description
eventName String
handler function

(static) bindEvent()

Source:

bind evnet

(static) clearEvent()

Source:

clear event listener

(static) clearHandler(eventName, handler)

Source:

Clean up all binding events

Parameters:
Name Type Description
eventName String
handler function

(static) click(event)

Source:

click event

Parameters:
Name Type Description
event Object

(static) keydown(event)

Source:

key down

Parameters:
Name Type Description
event Object

(static) keyup(event)

Source:

key up

Parameters:
Name Type Description
event Object

(static) mousedown(event)

Source:

mouse down

Parameters:
Name Type Description
event Object

(static) mousein(event)

Source:

mouse in

Parameters:
Name Type Description
event Object

(static) mousemove(event)

Source:

mouse move

Parameters:
Name Type Description
event Object

(static) mouseout(event)

Source:

mouse out

Parameters:
Name Type Description
event Object

(static) mouseup(event)

Source:

mouse up

Parameters:
Name Type Description
event Object

(static) mousewheel(event)

Source:

mouse whell

Parameters:
Name Type Description
event Object

(static) touchend(e)

Source:

touchend

Parameters:
Name Type Description
e Object

(static) touchmove(e)

Source:

touchmove

Parameters:
Name Type Description
e Object

(static) touchstart(e)

Source:

touchstart

Parameters:
Name Type Description
e Object