* Called whenever there is mouse input at the document level * to determine if the cursor is active or not. * * @param {object} event
( event )
| 90 | * @param {object} event |
| 91 | */ |
| 92 | onDocumentCursorActive( event ) { |
| 93 | |
| 94 | this.showCursor(); |
| 95 | |
| 96 | clearTimeout( this.cursorInactiveTimeout ); |
| 97 | |
| 98 | this.cursorInactiveTimeout = setTimeout( this.hideCursor.bind( this ), this.Reveal.getConfig().hideCursorTime ); |
| 99 | |
| 100 | } |
| 101 | |
| 102 | /** |
| 103 | * Handles mouse wheel scrolling, throttled to avoid skipping |
nothing calls this directly
no test coverage detected