UI Template Access #448
garrynewman
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When designing UI components, you can now access the html template directly.
So for example, we create a new Panel type called Select.. and the html template can look like this.
Now in the Select panel class we can inspect and use the html element.
By returning true we're telling the template system not to continue creating children, because in this case we're using the children to populate a list of options.
INode looks like this..
Beta Was this translation helpful? Give feedback.
All reactions