This passes the options down to the slide template, so it's easier to extend it with new (customisable) functionality. Right now only the layout has access to the options, limiting where you can place new elements.
Additionally made sure that the default values for options.controls and options.progress are properly passed down (i.e. true when not defined explicitly) to layout as well.
It might make sense to remove the passing down of controls and progress to the slide template as well, but I figured leaving it in is a bit better for backwards-compatibility.
This passes the
options
down to the slide template, so it's easier to extend it with new (customisable) functionality. Right now only the layout has access to the options, limiting where you can place new elements.Additionally made sure that the default values for
options.controls
andoptions.progress
are properly passed down (i.e.true
when not defined explicitly) to layout as well.It might make sense to remove the passing down of
controls
andprogress
to the slide template as well, but I figured leaving it in is a bit better for backwards-compatibility.