diff options
author | Jaiden Mispy | 2016-08-27 09:13:54 +1000 |
---|---|---|
committer | Hakim El Hattab | 2016-10-05 11:16:41 +0200 |
commit | 3c36ee6cff43d2c4aefe59ef5198df4f327fa094 (patch) | |
tree | caf6bd29a5c0bf0dce545b994e271c4607586226 /README.md | |
parent | bac187f3a0f7e8f92d33ca0258fe2e96553d2930 (diff) |
Add note to README about how to disable scaling
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -301,6 +301,20 @@ Reveal.initialize({ }); ``` +If you wish to disable this behavior and do your own scaling (e.g. using media queries), try these settings: + +```javascript +Reveal.initialize({ + + ... + + width: "100%", + height: "100%", + margin: 0, + minScale: 1, + maxScale: 1 +}); +``` ### Dependencies |