Content Property for XML declarations #534
Labels
Content-Length: 234924 | pFad | https://github.com/NativeScript/NativeScript/issues/534
F4Fetched URL: https://github.com/NativeScript/NativeScript/issues/534
Alternative Proxies:
In order to simplify the XML declaration it might be a good idea to introduce the concept of Content Property. Here is an example:
can be simplified to just:
The idea is to annotate somehow the respective UI component so that the XML parser can figure out which should be the Content property and set the property value based on the XML element's content.
A possible way to do this is to use decorators on the UI components.
The text was updated successfully, but these errors were encountered: