Files
cocos4/pal/input/native/input-box.ts
T
PP 86f20da0f0 support pal/input (#8472)
* support pal/input

update

* update

* fix esLint

* support minigame

* support  pal/input on  minigame

* remove minigame.isSubContext

* support native

update

* deprecate static property on EventMouse

* deprecated static property in  EventTouch

* remove TODO

* remove  x y position in MouseWheel Event

* remove TODO

* remove temp code

* fix esLint

* update AccelerometerIntervalMode

* remove legacy code in JSB

* fix esLint

* optimize AccelerometerInputSource.setInterval

* fix esLint

* optimize code

* add more details for documentation

* update

* don't pass game.canvas to inputManager.registerSystemEvent

* optimize

* Revert "remove  x y position in MouseWheel Event"

This reverts commit b521ec4948d693b420887cdeb2f5f3afc1500066.

# Conflicts:
#	@types/pal/input.d.ts

* update

* fix esLint

* fix esLint
2021-04-19 16:24:42 +08:00

27 lines
598 B
TypeScript

export class InputBox {
public support: boolean;
constructor () {
this.support = true;
}
show (): Promise<void> {
throw new Error('Method not implemented.');
}
hide (): Promise<void> {
throw new Error('Method not implemented.');
}
onChange () {
throw new Error('Method not implemented.');
}
onComplete () {
throw new Error('Method not implemented.');
}
offChange () {
throw new Error('Method not implemented.');
}
offComplete () {
throw new Error('Method not implemented.');
}
}