Basic Usage
Banana
Orange
Apple
Grapes
Sizes
xs
sm
md
lg
xl
Banana
Orange
Apple
Grapes
With Divider
Banana
Orange
Apple
Grapes
Clickable & Active Status
Banana
Orange
Apple
Grapes
Customize Item Content
This is an example for using c-info-item as item
Notification
Some notification description
Personal
Some personal description
Settings
Some settings description
Exit
Some exit description
CList API
Props
Slots
Events
items
Array<any>Default
() => []The items config.
itemKey
stringDefault
'id'The unique key of item.
clickable
booleanDefault
falseDetermine whether the list items are clickable or not.
size
CSizeDefault
'md'The size of list.
activeFn
TSFunctionTypeDefault
() => falseThe function to determine whether the item is in active or not.
divider
booleanDefault
falseDetermine whether to show divider or not.
CItem API
Props
Slots
Events
label
string | numberDefault
''The label text of item.
size
CSizeDefault
'md'The size of item.
clickable
booleanDefault
falseDetermine whether the item is clickable or not.
active
booleanDefault
falseDetermine whether the item is in active status or not.
CInfoItem API
Props
Slots
Events
icon
stringDefault
''The icon. imported from @quasar/extras
title
stringDefault
''The title.
subtitle
stringDefault
''The subtitle.
align
"start" | "center" | "end"Default
'center'The align direction.
iconAlign
"start" | "center" | "end"Default
'start'The align direction with icon and title.
size
CSizeDefault
'md'The Size of item.