Skip to content

Commit

Permalink
Refactoring and adding tons of new parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-jung committed Jan 6, 2024
1 parent ed36b9a commit 3403f3c
Show file tree
Hide file tree
Showing 5 changed files with 82 additions and 65 deletions.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@
<param name="reveal.minScale" expression="${reveal.minScale}" if:set="reveal.minScale"/>
<param name="reveal.mousewheel" expression="${reveal.mousewheel}" if:set="reveal.mousewheel"/>
<param name="reveal.overview" expression="${reveal.overview}" if:set="reveal.overview"/>
<param name="reveal.parallaxbackgroundimage" expression="${reveal.parallaxbackgroundimage}" if:set="reveal.parallaxbackgroundimage"/>
<param name="reveal.parallaxBackgroundImage" expression="${reveal.parallaxBackgroundImage}" if:set="reveal.parallaxBackgroundImage"/>
<param name="reveal.parallaxbackgroundsize" expression="${reveal.parallaxbackgroundsize}" if:set="reveal.parallaxbackgroundsize"/>
<param name="reveal.previewlinks" expression="${reveal.previewlinks}" if:set="reveal.previewlinks"/>
<param name="reveal.progress" expression="${reveal.progress}" if:set="reveal.progress"/>
Expand Down
5 changes: 4 additions & 1 deletion insertParameters.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<param name="reveal.autoslidestoppable" expression="${reveal.autoslidestoppable}" if:set="reveal.autoslidestoppable"/>
<param name="reveal.autoAnimate" expression="${reveal.autoAnimate}" if:set="reveal.autoAnimate"/>
<param name="reveal.autoAnimateMatcher" expression="${reveal.autoAnimateMatcher}" if:set="reveal.autoAnimateMatcher"/>
<param name="reveal.autoAnimateEasing" expression="${reveal.autoAnimateEasing}" if:set="reveal.autoAnimateEasing"/>
<param name="reveal.autoAnimateDuration" expression="${reveal.autoAnimateDuration}" if:set="reveal.autoAnimateDuration"/>
<param name="reveal.autoAnimateUnmatched" expression="${reveal.autoAnimateUnmatched}" if:set="reveal.autoAnimateUnmatched"/>
<param name="reveal.autoPlayMedia" expression="${reveal.autoPlayMedia}" if:set="reveal.autoPlayMedia"/>
<param name="reveal.backgroundtransition" expression="${reveal.backgroundtransition}" if:set="reveal.backgroundtransition"/>
<param name="reveal.center" expression="${reveal.center}" if:set="reveal.center"/>
Expand Down Expand Up @@ -33,7 +36,7 @@
<param name="reveal.mousewheel" expression="${reveal.mousewheel}" if:set="reveal.mousewheel"/>
<param name="reveal.navigationMode" expression="${reveal.navigationMode}" if:set="reveal.navigationMode"/>
<param name="reveal.overview" expression="${reveal.overview}" if:set="reveal.overview"/>
<param name="reveal.parallaxbackgroundimage" expression="${reveal.parallaxbackgroundimage}" if:set="reveal.parallaxbackgroundimage"/>
<param name="reveal.parallaxBackgroundImage" expression="${reveal.parallaxBackgroundImage}" if:set="reveal.parallaxBackgroundImage"/>
<param name="reveal.parallaxbackgroundsize" expression="${reveal.parallaxbackgroundsize}" if:set="reveal.parallaxbackgroundsize"/>
<param name="reveal.pause" expression="${reveal.pause}" if:set="reveal.pause"/>
<param name="reveal.preloadIframes" expression="${reveal.preloadIframes}" if:set="reveal.preloadIframes"/>
Expand Down
8 changes: 7 additions & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@
<val>false</val>
</param>
<param name="reveal.autoAnimateMatcher" desc="Optionally provide a custom element matcher that will be used to dictate which elements we can animate between." type="string"/>
<param name="reveal.autoAnimateEasing" desc="Default settings for our auto-animate transitions, can be overridden per-slide or per-element via data arguments." type="string"/>
<param name="reveal.autoAnimateDuration" desc="Default settings for our auto-animate transitions, can be overridden per-slide or per-element via data arguments." type="string"/>
<param name="reveal.autoAnimateUnmatched" desc="Default settings for our auto-animate transitions, can be overridden per-slide or per-element via data arguments." type="enum">
<val default="true">true</val>
<val>false</val>
</param>
<param name="reveal.autoPlayMedia" desc="Global override for autoplaying embedded media (video/audio/iframe). 'null': Media will only autoplay if data-autoplay is present. 'true': All media will autoplay, regardless of individual setting. 'false': No media will autoplay, regardless of individual setting." type="enum">
<val default="true">null</val>
<val>true</val>
Expand Down Expand Up @@ -156,7 +162,7 @@
<val default="true">true</val>
<val>false</val>
</param>
<param name="reveal.parallaxbackgroundimage" desc="Set the parallax background image." type="file"/>
<param name="reveal.parallaxBackgroundImage" desc="Set the parallax background image." type="file"/>
<param name="reveal.parallaxbackgroundsize" desc="Parallax background size. CSS syntax, e.g. '2100px 900px'" type="string"/>
<param name="reveal.pause" desc="Flags if it should be possible to pause the presentation (blackout)." type="enum">
<val default="true">true</val>
Expand Down
9 changes: 9 additions & 0 deletions samples/sample.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,14 @@
<param name="reveal.scrollprogress" value="true"/>
</publication>
</deliverable>

<deliverable name="Reveal Presentation - With progress bar" id="progress-bar">
<context idref="reveal_context"/>
<output href="./progress-bar"/>
<publication transtype="reveal">
<param name="reveal.view" value="scroll"/>
<param name="reveal.scrollprogress" value="true"/>
</publication>
</deliverable>

</project>
Loading

0 comments on commit 3403f3c

Please sign in to comment.