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.

Properties

UI Dialog

ItemInput valueOptionDefault value
IDstringautomatic
Widthnumber320
Heightnumber240
Xnumber
Ynumber
Visibilityboolean• on
• off
on
Valuestringdetails 1
Click Eventselect• None
• Action
Action

Action

ItemPropertiesData TypeOptionsDefault value
IDidstringautomatic
Widthwidthnumber320
Heightheightnumber240
Xxnumber
Yynumber
Visibilityvisibilityboolean• true
• false
true
Valuevaluearray of objectdetails 1

Tips

[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"}]

Tips

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”}