Merge branch 'pdf-slide-numbers' of https://github.com/dougalsutherland/reveal.js into dev
This commit is contained in:
commit
a59b1415f8
2 changed files with 86 additions and 74 deletions
|
@ -1017,9 +1017,9 @@ Reveal.configure({ slideNumber: true });
|
|||
Reveal.configure({ slideNumber: 'c/t' });
|
||||
|
||||
// You can provide a function to fully customize the number:
|
||||
Reveal.configure({ slideNumber: function() {
|
||||
Reveal.configure({ slideNumber: function( slide ) {
|
||||
// Ignore numbering of vertical slides
|
||||
return [ Reveal.getIndices().h ];
|
||||
return [ Reveal.getIndices( slide ).h ];
|
||||
}});
|
||||
|
||||
// Control which views the slide number displays on using the "showSlideNumber" value:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue