summaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorHakim El Hattab2012-11-13 09:37:37 -0500
committerHakim El Hattab2012-11-13 09:37:37 -0500
commitad54b07a849203e751222a24d86a6dbff1067bc0 (patch)
treeb0e43d461f3a326a7e462fe875861fb4673d7f7f /README.md
parentec0c74421302d1f10378372c23dc5c3e0cee091f (diff)
parent5354b788691f6c466325937794764e14abb421f9 (diff)
Merge branch 'fix-callback-with-shared-dir' of https://github.com/hashar/reveal.js
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 2d22fb4..6c07a33 100644
--- a/README.md
+++ b/README.md
@@ -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