Skip to content

Add `@path` meta-property

Compare
Choose a tag to compare
@mficzel mficzel released this 30 Nov 10:44
92d5950

The @path-property of tag-children can be used to render a specific afx-child into the given fusion path instead of beeing included into the content. This allows to render AFX children into different props and to assign Fusion-prototypes to props.

<Vendor.Site:Prototype>
    <h2 @path="title">{props.title}</h1> 
    <p @path="description">{props.description}</p>
</Vendor.Site:Prototype>