/reveal.js-notes-pointer

Notes plugin for reveal.js with a "laser pointer"

Primary LanguageHTMLOtherNOASSERTION

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.