summaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorHakim El Hattab2013-07-14 18:19:52 -0400
committerHakim El Hattab2013-07-14 18:19:52 -0400
commit6a32756908c5d5ee8fd9fb485cebfcad39d82455 (patch)
tree2bdfe4a53f560fdbb749cd4bf82f5c06af54f7dd /README.md
parentbf864c7a0d52cccff02f81f479c0f4d6264fb093 (diff)
parentfe4315e912f708e08122027632e56ddf9a946e15 (diff)
Merge branch 'dev' of github.com:hakimel/reveal.js into dev
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 f997dae..52c3fc3 100644
--- a/README.md
+++ b/README.md
@@ -370,6 +370,8 @@ The display order of fragments can be controlled using the ```data-fragment-inde
When a slide fragment is either shown or hidden reveal.js will dispatch an event.
+Some libraries, like MathJax (see #505), get confused by the initially hidden fragment elements. Often times this can be fixed by calling their update or render function from this callback.
+
```javascript
Reveal.addEventListener( 'fragmentshown', function( event ) {
// event.fragment = the fragment DOM element