Browse Source

Add reference to component properties in Blocks doc

pull/3905/head
Artur Arseniev 4 years ago
parent
commit
ae7d9cd370
  1. 7
      docs/modules/Blocks.md

7
docs/modules/Blocks.md

@ -150,7 +150,12 @@ editor.Components.addType('cmp-Y', {
}
});
```
Another alternative is to leverage `data-gjs-*` attributes (used by GrapesJS parser) to attach properties to components.
Another alternative is to leverage `data-gjs-*` attributes to attach properties to components.
::: tip
You can use most of the available [Component properties](/api/component.html#properties).
:::
```js
// -- [Option 1]: Declare type in HTML strings --
{

Loading…
Cancel
Save