2
1
0

We're developing a native component and we would like the form developer to add extra components inside of it (just like the block or section component), how can we do that?

CommentAdd your comment...

1 answer

  1.  
    1
    0
    -1

    Hi Benjamin,

    Inside your native component's HTML file add the following <div> to your HTML structure in the place where you want the form developer to be able to drop in additional components:

    <div data-widget-children></div>

    Inside your native component's widget.json JSON file ensure you specify the following for the "rows" property:

    "rows": [[]],

    This should enable your component to behave like a container.

      CommentAdd your comment...