Getting started with deck.js:
step extension
use right arrow to move on
Nested deck.js slides
- Not an extension (in core deck.js)
- Just have an element with the “slide” class…
- … and it will appear (hit the right arrow now)
- Hey! I appeared! (go on)
- The gray-ish style is part of the theme
Why the step extension?
-
Nested slides
are cool
and useful
- But there is a problem
-
Navigating
is
annoying
with
nesting
!!!
- Example:
Try using the left arrow to go back to previous slide
- Probably annoying!?
- Now try hitting the up arrow
- More on the next slide…
The “step” extension
- Adds new key shortcuts
- up arrow: previous top level slide
- down arrow: next top level slide
More “step”
- Other stuff… not visible
- Defaults to not counting nested slides
(if you use the status extension)
- Add notifications events to nested slides when the parent gets activated (for animations)
- (The title ends in "21", see why in the source)
Digging Deeper
If you want to learn more, you can:
/