Interface
FakeMouseComp
:The fakeMouse component.
isPressed
(): booleanWhether the fake mouse is pressed.
press
(): voidTrigger press (onClick).
release
(): voidTrigger release.
onPress
(action: () => void): voidRegister an event that runs when the fake mouse performs a click.
onRelease
(action: () => void): voidRegister an event that runs when the fake mouse releases.