Skip to content

Basic List

The basic list is a simple list with only an icon and a one-line string. It is effective for use in applications with small space requirements, such as mobile applications.

Property

NoItemInput ValueDefault ValueAction PropertyTypeAction Default ValueDescription
1IDStringAuto-generatedidstringAuto-generatedThe [id] property cannot be set by action.
2WidthString390widthnumber/string390Component width
3HeightString220heightnumber/string220Component height
4XStringxnumber/stringX coordinate position
5YStringynumber/stringY coordinate position
6LockBooleanOFFlockbooleanfalseWhen ON, the component stays fixed even when the screen is scrolled.
When OFF, the component moves along with the screen scroll.
Added in v4.1.0.
7ColorColor PickercolorstringComponent text color. Added in v3.4.0.
8Icon ColorColor PickericonColorstringIcon color. Added in v3.4.0.
9Background ColorColor PickerbackgroundColorstringBackground color. Added in v3.4.0.
10VisibilityBooleanONvisibilitybooleantrueComponent visibility state
11ValueTable
[Details 1]
[Details 1]valueobject array[Details 1]List items array
12Click EventSelection
1. None
2. Action
3. Detached Action
ActionClick behavior
Detached Action became selectable in v4.1.0.
13selectedobjectSelected item (read-only)
14Detached ActionSelection
1. [Detached Action ID]
detachedActionstringSet a detached action
Added in v4.1.0.

[Details 1] Value

The default status is registered as follows. Register from the "Add" button. To delete, select the check box and click the "Delete" button.

SelectionIDiconPrimaryDivider
Checkboxitem1InboxInboxnone
Checkboxitem2DraftsDraftsnone

"value" is in the form of an array of objects.
[{"id":"item1","icon":"Inbox","primary":"Inbox","divider":"none"},{"id":"item2","icon":"Drafts","primary":"Drafts","divider":"none"}]

Event

Event nameDescription
onclickPerforms an action when clicked.

The "selected" property allows you to retrieve the object in the row you clicked on.

ItemExample
Acquisition method$ui.basic_list_id.selected
Obtained value{“id”:“item1”,“icon”:“Inbox”,“primary”:“Inbox”,“divider”:“none”}