* Pick up notes from the current slide and display them * to the viewer. * * @see config.showNotes
()
| 37 | * @see {@link config.showNotes} |
| 38 | */ |
| 39 | update() { |
| 40 | |
| 41 | if( this.Reveal.getConfig().showNotes && |
| 42 | this.element && this.Reveal.getCurrentSlide() && |
| 43 | !this.Reveal.isScrollView() && |
| 44 | !this.Reveal.isPrintView() |
| 45 | ) { |
| 46 | this.element.innerHTML = this.getSlideNotes() || '<span class="notes-placeholder">No notes on this slide.</span>'; |
| 47 | } |
| 48 | |
| 49 | } |
| 50 | |
| 51 | /** |
| 52 | * Updates the visibility of the speaker notes sidebar that |