self"
From Documentation
Robertwenzel (talk | contribs) |
|||
Line 11: | Line 11: | ||
</listbox> | </listbox> | ||
</source> | </source> | ||
+ | |||
+ | In default creation order, ${self.nextSibling} returns null since the next component is not yet created. | ||
=Version History= | =Version History= |
Latest revision as of 03:15, 15 April 2024
self - Component
The component itself. In other words, it is the closest component, depicted as follows.
<listbox>
<zscript>self.getItems();</zscript><!-- self is listbox -->
<listitem value="ab" label="${self.value}"/><!-- self is listitem -->
<zscript>self.getSelectedIndex();</zscript><!-- self is listbox -->
</listbox>
In default creation order, ${self.nextSibling} returns null since the next component is not yet created.
Version History
Version | Date | Content |
---|---|---|