Hakim El Hattab 5 년 전
부모
커밋
bdedc56d6f
2개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  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 ) {