Items
<k-items>
This UI component hasn't been finalized yet. The functionality and syntax aren't stable and might be redone in an upcoming release. Only use it at your own risk - breaking changes are likely to occur.
Props
Prop | Type | Default | Description |
---|---|---|---|
columns |
object |array |
function() { return {}; } |
|
empty |
string |object |
– |
Placeholder text and icon for empty state
|
image |
object |boolean |
function() { return {}; } |
|
items |
array |
[] |
|
layout |
string |
"list" |
|
link |
boolean |
true |
|
size |
string |
"default" |
Card sizes.
|
sortable |
boolean |
– |
|
Events
Event | Description | Passes |
---|---|---|
change |
|
– |
hover |
|
– |
item |
|
– |
option |
|
|
sort |
|
– |
Slots
Slot | Description |
---|---|
options |
CSS classes
.k-items