Skip to content

djsutherland/reveal.js-notes-pointer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A fork of the default reveal.js notes plugin where you can use your mouse to point, as if with a laser pointer, in the notes preview window and have it show up in the presentation window.

Usage: npm install reveal.js-notes-pointer, and then

Reveal.initialize({
    // ...

    // Optional configuration, leave anything out for defaults
    notes_pointer: {
        pointer: {
            size: 15,  // in pixels (scaled like the rest of reveal.js)
            color: 'rgba(255, 0, 0, 0.8)',  // something valid for css background-color
            key: 'A'
        },
        notes: {
            key: 'S'
        }
    },

    dependencies: [
        // ...

        {src: 'node_modules/reveal.js-notes-pointer/notes-pointer.js', async: True}
        // async is optional
    ]
});

Some inspiration from caiofcm/plugin-revealjs-mouse-pointer.