documentation for #2315

This commit is contained in:
Hakim El Hattab
2019-02-01 10:15:10 +01:00
parent d0337246f2
commit ce53e63b5b
2 changed files with 28 additions and 17 deletions

View File

@ -937,6 +937,12 @@ Reveal.configure({ slideNumber: true });
// "c/t": flattened slide number / total slides
Reveal.configure({ slideNumber: 'c/t' });
// You can provide a function to fully customize the number:
Reveal.configure({ slideNumber: function() {
// Ignore numbering of vertical slides
return [ Reveal.getIndices().h ];
}});
// Control which views the slide number displays on using the "showSlideNumber" value:
// "all": show on all views (default)
// "speaker": only show slide numbers on speaker notes view