mirror of
https://github.com/Noratrieb/slides.git
synced 2026-03-15 21:36:02 +01:00
new controller for speaker notes
This commit is contained in:
parent
2b02f3a1f9
commit
97ee72549b
7 changed files with 180 additions and 144 deletions
|
|
@ -13,6 +13,20 @@ export default class Fragments {
|
|||
|
||||
}
|
||||
|
||||
/**
|
||||
* Called whenever the reveal.js config is updated.
|
||||
*/
|
||||
configure( config, oldConfig ) {
|
||||
|
||||
if( config.fragments === false ) {
|
||||
this.disable();
|
||||
}
|
||||
else if( oldConfig.fragments === false ) {
|
||||
this.enable();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* If fragments are disabled in the deck, they should all be
|
||||
* visible rather than stepped through.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue