new SlideBuilder(el)
.fragments([
() => setText('Fragment One'),
() => setText('Fragment Two')
])
works by appending empty .fragment
elements and listening for relevant fragmentshown
events
new SlideBuilder(el)
.shown(initializeSlide)
.hidden(teardownSlide)
Useful for complex/heavy animations