cleaver icon indicating copy to clipboard operation
cleaver copied to clipboard

Pass options to slide template rendering

Open tkers opened this issue 7 years ago • 0 comments

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.

tkers avatar Dec 03 '18 21:12 tkers