MobileDOM: {
_wasd: any;
eventCancel: any;
eventDown: any;
eventUp: any;
addButton(
label: any,
onClick: any,
onRelease?: () => void,
options?: {},
onMove?: () => void,
): HTMLDivElement;
addProgressBar(
options?: {},
): HTMLDivElement & { setValue: (percent: any) => void };
addSlider(onChange?: (v: any) => void, options?: {}): HTMLInputElement;
createWASD(camera: any, options?: {}): HTMLDivElement;
destroyWASD(): void;
} = ...
Type Declaration
_wasd: any
eventCancel: any
eventDown: any
eventUp: any
Parameters
- label: any
- onClick: any
- onRelease: () => void = ...
- options: {} = {}
- onMove: () => void = ...
Returns HTMLDivElement
addProgressBar: function
addProgressBar( options?: {},): HTMLDivElement & { setValue: (percent: any) => void } Returns HTMLDivElement & { setValue: (percent: any) => void }
addSlider: function
addSlider(onChange?: (v: any) => void, options?: {}): HTMLInputElement Parameters
- onChange: (v: any) => void = ...
- options: {} = {}
Returns HTMLInputElement
createWASD: function
createWASD(camera: any, options?: {}): HTMLDivElement Parameters
- camera: any
- options: {} = {}
Returns HTMLDivElement
destroyWASD: function