Skip to content
Snippets Groups Projects
Commit 6a327569 authored by Hakim El Hattab's avatar Hakim El Hattab
Browse files

Merge branch 'dev' of github.com:hakimel/reveal.js into dev

parents bf864c7a fe4315e9
No related branches found
No related tags found
No related merge requests found
...@@ -370,6 +370,8 @@ The display order of fragments can be controlled using the ```data-fragment-inde ...@@ -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. 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 ```javascript
Reveal.addEventListener( 'fragmentshown', function( event ) { Reveal.addEventListener( 'fragmentshown', function( event ) {
// event.fragment = the fragment DOM element // event.fragment = the fragment DOM element
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment