コンテンツにスキップ

詳細リスト

詳細リストはアバターとプライマリテキスト、セカンダリーテキスト、サポートテキストからアイテムが構成されるリストです。モバイルアプリケーションなど領域が少ないアプリケーションでの使用が有効です。

プロパティ

No項目入力値デフォルト値アクションプロパティタイプアクションデフォルト値説明
1ID文字列自動設定idstring自動設定[id]プロパティはアクションで設定はできません。
2数値390widthnumber390コンポーネントの幅
3高さ数値200heightnumber200コンポーネントの高さ
4X数値xnumberX座標位置
5Y数値ynumberY座標位置
6表示真偽ONvisibilitybooleantrueコンポーネントの表示/非表示
7文字列[詳細1]valuearray of object[詳細1]詳細リストの値
8クリックイベント選択
1.なし
2.アクション
アクションクリック時のイベント設定

[詳細1] 値 (value)

デフォルトの状態は以下のように登録されています。[ADD]ボタンから登録します。 削除する場合は、チェックボックスを選択して、[DELETE]ボタンをクリックします。

選択IDアバタープライマリセカンダリサポート区切り線
チェックボックスitem1https://template-ui-image.webperformer.jp/image/Avatar.pngBrunch this weekend?Ali Connors— I will be in your neighborhood doing errands this…inset
チェックボックスitem2https://template-ui-image.webperformer.jp/image/Avatar.pngSummer BBQto Scott, Alex, Jennifer— Wish I could come, but Im out of town this…inset

valueはオブジェクトの配列形式になります。

[
{
"id": "item1",
"avatar": "https://template-ui-image.webperformer.jp/image/Avatar.png",
"primary": "Brunch this weekend?",
"secondary": "Ali Connors",
"supporting": " — I will be in your neighborhood doing errands this…",
"divider": "inset"
},
{
"id": "item2",
"avatar": "https://template-ui-image.webperformer.jp/image/Avatar.png",
"primary": "Summer BBQ",
"secondary": "to Scott, Alex, Jennifer",
"supporting": " — Wish I could come, but Im out of town this…",
"divider": "inset"
}
]

イベント

イベント名説明
onclickクリックした時にアクションを実行します。

[selected]プロパティによって、クリックした行のオブジェクトが取得できます。

項目
取得方法$ui.detailed_list_id.selected
取得値{“id”:“item1”,“avatar”:“/xxx/xxx/xxx.png”,“primary”:“xxx”,“secondary”:“xxx”,“supporting”:“xxx”,“divider”:“inset”}