hakimel/reveal.js (reveal.js)
### [`v5.0.0`](https://togithub.com/hakimel/reveal.js/releases/tag/5.0.0)
[Compare Source](https://togithub.com/hakimel/reveal.js/compare/4.6.1...5.0.0)
#### Scroll view
reveal.js 5.0 comes with a groundbreaking new feature; scroll view! ([https://github.com/hakimel/reveal.js/pull/3482](https://togithub.com/hakimel/reveal.js/pull/3482))
Slide decks are a great format for giving presentations, but scrollable web pages are easier for viewers to read on their own.
The scroll view gives you the best of both worlds—without any extra effort. Present in the format best suited for presenting, share in the format best suited for consumption.
Here's what it looks in action:
https://github.com/hakimel/reveal.js/assets/629429/e94e0352-7e4c-4a0f-8ea1-a20b420bb28a
Explore the above demo yourself at
##### How to use it
The scroll view is enabled by initializing reveal.js with `view: "scroll"` or by appending `?view=scroll` to a deck URL.
```js
Reveal.initialize({ view: 'scroll' });
```
It's possible to fine tune this view through multiple new config options. Full documentation available at .
#### Breaking change
The scroll view is automatically enabled for viewports below 435px wide. This is done because I believe the scroll view to be a superior way to browse any deck on a mobile device. If you want to revert this behavior and always paginate between slides, see `scrollActivationWidth`:
```js
Reveal.initialize({ scrollActivationWidth: null })
```
#### Changes
- The PDF print view can now be activated via config `Reveal.initialize({ view: 'print' })` ([@hakimel](https://togithub.com/hakimel) in [#3482](https://togithub.com/hakimel/reveal.js/issues/3482))
- The new URL query for activating the print view is `?view=print`. It used to be `?print-pdf`, which is still supported for backwards compatibility. ([@hakimel](https://togithub.com/hakimel) in [#3482](https://togithub.com/hakimel/reveal.js/issues/3482))
#### Fixes
- Notes from `data-notes` were not working on the slide-level ([@skyboyer](https://togithub.com/skyboyer) in [https://github.com/hakimel/reveal.js/pull/3477](https://togithub.com/hakimel/reveal.js/pull/3477))
- Add 'wheel' event listener, remove deprecated `mousewheel` & 'DOMMouseScroll\` ([@quochuy](https://togithub.com/quochuy) in [https://github.com/hakimel/reveal.js/pull/3489](https://togithub.com/hakimel/reveal.js/pull/3489))
**Full Changelog**: https://github.com/hakimel/reveal.js/compare/4.6.0...5.0.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^4.6.1
->^5.0.0
Release Notes
hakimel/reveal.js (reveal.js)
### [`v5.0.0`](https://togithub.com/hakimel/reveal.js/releases/tag/5.0.0) [Compare Source](https://togithub.com/hakimel/reveal.js/compare/4.6.1...5.0.0) #### Scroll view reveal.js 5.0 comes with a groundbreaking new feature; scroll view! ([https://github.com/hakimel/reveal.js/pull/3482](https://togithub.com/hakimel/reveal.js/pull/3482)) Slide decks are a great format for giving presentations, but scrollable web pages are easier for viewers to read on their own. The scroll view gives you the best of both worlds—without any extra effort. Present in the format best suited for presenting, share in the format best suited for consumption. Here's what it looks in action: https://github.com/hakimel/reveal.js/assets/629429/e94e0352-7e4c-4a0f-8ea1-a20b420bb28a Explore the above demo yourself atConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.