This commit is contained in:
Hakim El Hattab 2020-03-09 16:01:50 +01:00
parent d42d88dae4
commit bdedc56d6f
2 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,9 @@
import { extend, toArray, createStyleSheet } from '../utils/util.js' import { extend, toArray, createStyleSheet } from '../utils/util.js'
/**
* Automatically animates matching elements across
* slides with the [data-auto-animate] attribute.
*/
export default class AutoAnimate { export default class AutoAnimate {
constructor( Reveal ) { constructor( Reveal ) {

View File

@ -1,6 +1,10 @@
import { HORIZONTAL_SLIDES_SELECTOR, VERTICAL_SLIDES_SELECTOR } from '../utils/constants.js' import { HORIZONTAL_SLIDES_SELECTOR, VERTICAL_SLIDES_SELECTOR } from '../utils/constants.js'
import { extend, toArray, closestParent } from '../utils/util.js' import { extend, toArray, closestParent } from '../utils/util.js'
/**
* Handles loading, unloading and playback of slide
* content such as images, videos and iframes.
*/
export default class SlideContent { export default class SlideContent {
constructor( Reveal ) { constructor( Reveal ) {