Hakim El Hattab 5 gadi atpakaļ
vecāks
revīzija
bdedc56d6f
2 mainītis faili ar 8 papildinājumiem un 0 dzēšanām
  1. 4 0
      js/controllers/autoanimate.js
  2. 4 0
      js/controllers/slidecontent.js

+ 4 - 0
js/controllers/autoanimate.js

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

+ 4 - 0
js/controllers/slidecontent.js

@@ -1,6 +1,10 @@
 import { HORIZONTAL_SLIDES_SELECTOR, VERTICAL_SLIDES_SELECTOR } from '../utils/constants.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 {
 
 	constructor( Reveal ) {