mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-19 13:02:22 +02:00
reader mode -> scroll view, auto-enable below 435px width
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
<title>reveal.js - Reader Mode</title>
|
||||
<title>reveal.js - Scroll View</title>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
<div class="slides">
|
||||
|
||||
<section><h1>Reader Mode</h1></section>
|
||||
<section><h1>Scroll View</h1></section>
|
||||
<section data-background="indigo">
|
||||
<h2>Scroll triggers</h2>
|
||||
<ul>
|
||||
@@ -111,7 +111,7 @@
|
||||
<script src="../plugin/highlight/highlight.js"></script>
|
||||
<script>
|
||||
Reveal.initialize({
|
||||
view: 'reader',
|
||||
view: 'scroll',
|
||||
hash: true,
|
||||
|
||||
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
|
Reference in New Issue
Block a user