Back to Grapesjs

Frame

docs/api/frame.md

0.22.16879 B
Original Source
<!-- Generated by documentation.js. Update this documentation by updating the source code. -->

Frame

Properties

  • component (Object | String) Wrapper component definition. You can also pass an HTML string as components of the default wrapper component.
  • width String? Width of the frame. By default, the canvas width will be taken.
  • height String? Height of the frame. By default, the canvas height will be taken.
  • x Number? Horizontal position of the frame in the canvas.
  • y Number? Vertical position of the frame in the canvas.