You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set up a listener for a specific cursor event from a specific cursor script.
57
57
58
-
***cursor_script_url** (url) - URL to the script you wish to listen to
58
+
***cursor_script_url** (url|string) - URL to the script you wish to listen to
59
59
***cursor_event** (hash) - The cursor message to listen for (see above)
60
60
***callback_fn** (function) - Function to call. Signature (`message_id`, `message`). Return true from the function to block execution of a `cursor.OVER`, `cursor.PRESSED` or `cursor.DRAG_START` event.
It is recommended to reset the cursor state when the screen is minimized and/or has lost focus. This can be done by sending a message to the cursor script:
0 commit comments