mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-10-29 12:46:34 +01:00
new controller for speaker notes
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user