Online documentation, manuals and tutorials
< All Topics
Print

Roller (LVGL)

Description

This Widget allows us to select one option from a list using touch based scrolling.

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.

Mode

Enum

Roller mode options:

  • NORMAL – normal roller.
  • INFINITE – makes the roller circular.

Examples

  • LVGL Widgets Demo
Page content