diff options
author | Hakim El Hattab | 2012-11-13 09:37:37 -0500 |
---|---|---|
committer | Hakim El Hattab | 2012-11-13 09:37:37 -0500 |
commit | ad54b07a849203e751222a24d86a6dbff1067bc0 (patch) | |
tree | b0e43d461f3a326a7e462fe875861fb4673d7f7f /README.md | |
parent | ec0c74421302d1f10378372c23dc5c3e0cee091f (diff) | |
parent | 5354b788691f6c466325937794764e14abb421f9 (diff) |
Merge branch 'fix-callback-with-shared-dir' of https://github.com/hashar/reveal.js
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -179,6 +179,8 @@ Reveal.addEventListener( 'ready', function( event ) { An 'slidechanged' event is fired each time the slide is changed (regardless of state). The event object holds the index values of the current slide as well as a reference to the previous and current slide HTML nodes. +Some libraries, like MathJax (see [#226](https://github.com/hakimel/reveal.js/issues/226#issuecomment-10261609)), get confused by the transforms and display states of slides. Often times, this can be fixed by calling their update or render function from this callback. + ```javascript Reveal.addEventListener( 'slidechanged', function( event ) { // event.previousSlide, event.currentSlide, event.indexh, event.indexv |