Interface MouseStillDownHandler
- All Superinterfaces:
EventHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Repeating notification method for the user holding the left mouse button down over this canvas.
-
Method Details
-
onMouseStillDown
Repeating notification method for the user holding the left mouse button down over this canvas.The
mouseStillDown
event is fired immediately when the mouse goes down. If the user holds the mouse down, after a pause ofmouseStillDownInitialDelay
, it will begin to fire repeatedly everymouseStillDownDelay
milliseconds.This provides developers with a simple way to handle the common "repeated action" use case where a user can click a UI element to perform an action once, or click and hold to perform the action repeatedly.
Examples of this include standard scrollbar button behavior and buttons to increase or decrease the value in a spinner type input element.This event is not native to JavaScript, but is provided by the ISC system.
- Parameters:
event
- the event
-