瀏覽代碼

Add note to README about how to disable scaling

Jaiden Mispy 8 年之前
父節點
當前提交
3c36ee6cff
共有 1 個文件被更改,包括 14 次插入0 次删除
  1. 14 0
      README.md

+ 14 - 0
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