Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New release : 5.0.0 #45

Open
anantshri opened this issue Oct 27, 2023 · 0 comments
Open

New release : 5.0.0 #45

anantshri opened this issue Oct 27, 2023 · 0 comments

Comments

@anantshri
Copy link
Owner

5.0.0

https:/hakimel/reveal.js/releases/tag/5.0.0

Scroll view

reveal.js 5.0 comes with a groundbreaking new feature; scroll view! (#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:

scroll-view.mp4
scroll-view.mp4

Explore the above demo yourself at https://slides.com/news/scroll-mode/scroll

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.

Reveal.initialize({ view: 'scroll' });

It's possible to fine tune this view through multiple new config options. Full documentation available at https://revealjs.com/scroll-view.

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:

Reveal.initialize({ scrollActivationWidth: null })

Changes

  • The PDF print view can now be activated via config Reveal.initialize({ view: 'print' }) (@hakimel in #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 in #3482)

Fixes

  • Notes from data-notes were not working on the slide-level (@skyboyer in #3477)
  • Add 'wheel' event listener, remove deprecated mousewheel & 'DOMMouseScroll` (@quochuy in #3489)

Full Changelog: 4.6.0...5.0.0



via Release notes from reveal.js https:/hakimel/reveal.js/releases
October 27, 2023 at 07:30PM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant