Online documentation, manuals and tutorials
< All Topics
Print

Dropdown (LVGL)

Description

The drop-down list allows the user to select one value from a list.

More info

Properties

Specific

Options

EXPRESSION (array:string)

List of options.

Options type

Enum

Select between Literal and Expression. If Literal is selected then Options are entered one option per line. If Expression is selected then options are evaluated from Options expression which must be of type array:string.

Selected

EXPRESSION (integer)

The zero-based index of the selected option.

Selected type

Enum

Select between Literal and Assignable. If Assignable is selected then Options can be variable in which the zero-based index of the selected option will be stored.

Direction

Enum

The list can be created on any side. If the list would be vertically out of the screen, it will be aligned to the edge.

Examples

  • Dashboard Widgets Demo
Page content