This article is outdated, you can access the most current version here: https://doc.onedata.de/apps/apps-docs/odml-documentation/AppBuilder/partials/Partials.html
Partials can be used to define something like a configuration or styles of an element etc. and reuse it at other parts of the app configuration.
Property | Type | Description | Example Value |
partials.id | string | Used to set the unique id of the partial | "id": "HtmlPartial" |
partials.partial | any | Used to define the partial → type aware | "partial": { "html": "<h1>Hello World!</h1>" } |
Now you can reuse the partial in your html element like that:
You can also add an "override" property to change the partial directly in your element configuration. The following code will override the html partial.
Full example without "screens" , "layouts" and "datasources":
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article