Layout Props #68

Merged
thesabinelim merged 1 commits from props into master 2023-05-13 03:43:12 +08:00
thesabinelim commented 2023-05-13 03:34:44 +08:00 (Migrated from github.com)

Can now pass props when loading a layout e.g. :loadLayout("layout.xml", {someProp="hello", anotherProp="world"})

These can be accessed within the layout using all the usual methods, including Reactive Properties e.g. <label text={props.label} />

Can now pass props when loading a layout e.g. `:loadLayout("layout.xml", {someProp="hello", anotherProp="world"})` These can be accessed within the layout using all the usual methods, including Reactive Properties e.g. `<label text={props.label} />`
Sign in to join this conversation.
No description provided.