mirror of https://github.com/artf/grapesjs.git
9 changed files with 37 additions and 7 deletions
@ -0,0 +1,19 @@ |
|||
<!-- Generated by documentation.js. Update this documentation by updating the source code. --> |
|||
|
|||
## Frame |
|||
|
|||
|
|||
|
|||
### Properties |
|||
|
|||
* `component` **([Object][1] | [String][2])** Wrapper component definition. You can also pass an HTML string as components of the default wrapper component. |
|||
* `width` **[String][2]?** Width of the frame. By default, the canvas width will be taken. |
|||
* `height` **[String][2]?** Height of the frame. By default, the canvas height will be taken. |
|||
* `x` **[Number][3]?** Horizontal position of the frame in the canvas. |
|||
* `y` **[Number][3]?** Vertical position of the frame in the canvas. |
|||
|
|||
[1]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
|||
|
|||
[2]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String |
|||
|
|||
[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number |
|||
Loading…
Reference in new issue