mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-09-01 10:42:54 +02:00
Merge branch 'pdf-slide-numbers' of https://github.com/dougalsutherland/reveal.js into dev
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user