From 3c36ee6cff43d2c4aefe59ef5198df4f327fa094 Mon Sep 17 00:00:00 2001 From: Jaiden Mispy Date: Sat, 27 Aug 2016 09:13:54 +1000 Subject: [PATCH] Add note to README about how to disable scaling --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 8d92b14..4e306a6 100644 --- a/README.md +++ b/README.md @@ -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