Constructor

new(width:Int, height:Int, ?oldWidth:Int, ?oldHeight:Int)

Variables

height:Int

New height

oldHeight:Null<Int>

Old height (may be null)

oldWidth:Null<Int>

Old width (may be null)

width:Int

New width

Inherited Variables

Defined by CancellableEvent

@:value({ })data:Dynamic = { }

Additional data if used in scripts

Inherited Methods

Defined by CancellableEvent

@:value({ c : false })preventDefault(c:Bool = false):Void

Prevents default action from occuring.

Parameters:

c

Whenever the scripts following this one should be called or not. (Defaults to true)

toString():String

Returns a string representation of the event, in this format: [CancellableEvent] [CancellableEvent (Cancelled)]

Returns:

String