javascript - Reveal.js. How to temporarily disable the reveal property so that I can add other thing for example like telestration on top of the window -
i created canvas on top of reveal , have realized basic drawing functionality on canvas in test code.
however, when show canvas , drawing stuff touch screen, captures drawing function , swiping sections @ same time.
are there default settings can change temporarily disable swiping?
thanks thinking or answering questions.
it turns out there no switch function in reveal.js can turn slide function temporarily off or not.
however, implement drawing functionality, there function called
d3.event.stoppropagation();
or
event.stoppropagation();
which can stop swipe or dragging action on canvas/d3 penetrating reveal.js swipe event.
Comments
Post a Comment