tweaks and comments

This commit is contained in:
Hakim El Hattab
2020-04-06 10:39:48 +02:00
parent 881146500c
commit 9ebf6249e7
4 changed files with 17 additions and 16 deletions

View File

@@ -2494,7 +2494,7 @@ export default function( revealElement, options ) {
loadSlide: slideContent.load.bind( slideContent ),
unloadSlide: slideContent.unload.bind( slideContent ),
// Adds or removes all internal event listeners (such as keyboard)
// Adds or removes all internal event listeners
addEventListeners,
removeEventListeners,
dispatchEvent,
@@ -2515,8 +2515,8 @@ export default function( revealElement, options ) {
// Returns an Array of all slides
getSlides,
// Returns an Array of objects representing the attributes on
// the slides
// Returns an Array of key:value maps of the attributes of each
// slide in the deck
getSlidesAttributes,
// Returns the total number of slides