@@ -28,6 +28,7 @@ export default {
28
28
...
29
29
}
30
30
```
31
+
31
32
After that, wrap your app in the device tag:
32
33
33
34
``` html
@@ -36,21 +37,24 @@ After that, wrap your app in the device tag:
36
37
</device >
37
38
```
38
39
39
- ## Additional Options
40
+ ## Options
40
41
41
- Property | Default | Description
42
- :--- |:--- |:---
43
- ` type ` | iPhone8 | Can be any of the [ available devices] ( DEVICES.md )
44
- ` background ` | #FFF | Background color
45
- ` landscape ` | false | Display the window in landscape mode
46
- ` picker ` | false | Show device picker above frame
47
- ` autoscale ` | true | Always fit the device in the browser window and scale the content
48
- ` border ` | false | Show a black border around the device
42
+ | Property | Default | Description |
43
+ | :----------- | :-------- | :---------------------------------------------------------------- |
44
+ | ` type ` | ` iPhone8 ` | Can be any of the [ available devices] ( DEVICES.md ) |
45
+ | ` background ` | ` #FFF ` | Background color |
46
+ | ` landscape ` | ` false ` | Display the window in landscape mode |
47
+ | ` picker ` | ` false ` | Show device picker above frame |
48
+ | ` autoscale ` | ` true ` | Always fit the device in the browser window and scale the content |
49
+ | ` border ` | ` false ` | Show a black border around the device |
50
+ | ` disabled ` | ` false ` | Disable altogether just as a desktop view |
49
51
50
52
##### Example:
53
+
51
54
``` html
52
- <device type =' iPhone8' background =' #444' autoscale =' false' landscape picker border / >
55
+ <device type =' iPhone8' background =' #444' autoscale =' false' landscape picker border > ... </ device >
53
56
```
54
57
55
58
## Authors
56
- - Nic Mulvaney - [ Normally] ( http://normally.com )
59
+
60
+ * Nic Mulvaney - [ Normally] ( http://normally.com )
0 commit comments