InputEvent

class wv.Event.InputEvent()

Index

Constructors

Accessors

Methods

Constructors

wv.Event.InputEvent.constructor()
InputEvent(viewKey: ViewKey?): InputEvent

Parameters

viewKey: ViewKey = ViewKey.Default

key for the View the event is occurring in

Returns: InputEvent

Accessors

wv.Event.InputEvent.viewKey()
get viewKey(): ViewKey

Get the ViewKey this event is associated with.

Returns: ViewKey

Methods

wv.Event.InputEvent.getDate()
getDate(): Date

Gets the Date this event occurred

Returns: Date

the event Date
wv.Event.InputEvent.getHandled()
getHandled(): boolean

Gets the handled state of the event

Returns: boolean

whether the event has been handled
wv.Event.InputEvent.setHandled()
setHandled(handled: boolean): void

Sets the handled state of the event. When an event has been handled it will not propagate any further

Parameters

handled: boolean

Indicates whether this event has been handled.

Returns: void