Files
lvgl/xmls/lv_dropdown.xml
T
Gabor Kiss-Vamosi a535063308 feat(xml): add support scale, span, roller and bar
Also add some backward compatible API changes
2025-02-05 22:48:59 +01:00

20 lines
722 B
XML

<!--
Example
<lv_dropdown options="option1\noption2" dir="left">
<lv_dropdown-list style="red"/>
</lv_dropdown>
-->
<widget>
<api>
<prop name="text" type="string" help="Show it instead of the selected options"/>
<prop name="options" type="string" help="The options as a \n separated string"/>
<prop name="selected" help="The index of the selected option">
<param name="selected" type="int" help="The index of the selected option"/>
<param name="anim" type="bool" help="Move to the option with animation" default="false"/>
</prop>
<prop name="symbol" type="string" help="The symbol, usually a caret"/>
<element name="list" access="get" type="lv_obj" help=""/>
</api>
</widget>