Sfoglia il codice sorgente

clarify meaning of getProgress() value

Adam Spiers 9 anni fa
parent
commit
eac37990e1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -495,7 +495,7 @@ Reveal.getPreviousSlide();
 Reveal.getCurrentSlide();
 
 Reveal.getIndices(); // { h: 0, v: 0 } }
-Reveal.getProgress(); // 0-1
+Reveal.getProgress(); // (0 == first slide, 1 == last slide)
 Reveal.getTotalSlides();
 
 // Returns the speaker notes for the current slide