Skip to content

Commit

Permalink
Current reveal plugin options are flags
Browse files Browse the repository at this point in the history
  • Loading branch information
astefanutti committed Jul 5, 2024
1 parent 345b745 commit cad6569
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions plugins/reveal.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ import URI from 'urijs';
export const options = {
fragments: {
default : false,
flag : true,
help : 'Enable or disable fragments',
},
progress: {
default : false,
flag : true,
help : 'Enable or disable progress bar',
},
};
Expand All @@ -17,9 +19,8 @@ class Reveal {

constructor(page, opts) {
this.page = page;
this.options = opts;
this.fragments = this.options.fragments;
this.progress = this.options.progress;
this.fragments = opts.fragments;
this.progress = opts.progress;
}

getName() {
Expand Down

0 comments on commit cad6569

Please sign in to comment.