MCPcopy
hub / github.com/hakimel/reveal.js / constructor

Method constructor

js/controllers/pointer.js:6–22  ·  view source on GitHub ↗
( Reveal )

Source from the content-addressed store, hash-verified

4export default class Pointer {
5
6 constructor( Reveal ) {
7
8 this.Reveal = Reveal;
9
10 // Throttles mouse wheel navigation
11 this.lastMouseWheelStep = 0;
12
13 // Is the mouse pointer currently hidden from view
14 this.cursorHidden = false;
15
16 // Timeout used to determine when the cursor is inactive
17 this.cursorInactiveTimeout = 0;
18
19 this.onDocumentCursorActive = this.onDocumentCursorActive.bind( this );
20 this.onDocumentMouseScroll = this.onDocumentMouseScroll.bind( this );
21
22 }
23
24 /**
25 * Called when the reveal.js config is updated.

Callers

nothing calls this directly

Calls 1

bindMethod · 0.45

Tested by

no test coverage detected