mirror of https://github.com/artf/grapesjs.git
4 changed files with 45 additions and 26 deletions
@ -1,9 +1,23 @@ |
|||
<!-- Generated by documentation.js. Update this documentation by updating the source code. --> |
|||
|
|||
## getWidth |
|||
## Device |
|||
|
|||
|
|||
|
|||
### Properties |
|||
|
|||
* `name` **[String][1]?** Device type, eg. `Mobile` |
|||
* `width` **[String][1]?** Width to set for the editor iframe, eg. '900px' |
|||
* `height` **[String][1]?** Height to set for the editor iframe, eg. '600px' |
|||
* `widthMedia` **[String][1]?** The width which will be used in media queries, If empty the width will be used |
|||
* `priority` **[Number][2]?** Setup the order of media queries |
|||
|
|||
### getWidth |
|||
|
|||
Get device width. |
|||
|
|||
Returns **[String][1]** |
|||
|
|||
[1]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String |
|||
|
|||
[2]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number |
|||
|
|||
Loading…
Reference in new issue