UI.UIClickEvent
Index
Properties
Properties
optionalonClick
This function will be called when element is short touched.
Type declaration
Parameters
position: Vector
container: ItemContainer | UiAbstractContainer
tileEntity: any
window: IWindow
canvas: Canvas
scale: number
Returns void
optionalonLongClick
This function will be called when element is long touched.
Type declaration
Parameters
position: Vector
container: ItemContainer | UiAbstractContainer
tileEntity: any
window: IWindow
canvas: Canvas
scale: number
Returns void
Object where you can specify how the UI element will behave on touch events.