Class: InputEvent

WIND. InputEvent

Create an InputEvent object.

new InputEvent(evt, obj)

Create an InputEvent object.
Parameters:
Name Type Description
evt string Describes the user's action defined by the obj tool..
obj WIND.Tool A tool object where the event will be triggered.

Methods

trigger(callback)

Trigger a javascript function when the InputEvent happens.
Parameters:
Name Type Description
callback function The function that will be triggered.