OrionList
<o-list>
is a quick way to display a list with pagination, selection, grid or row layout features.
It will use the default
slot to iterate over the given array through the list
prop.
Usage
ListPlayground
Props
Name
bindRouter
string = undefined
cellClass
string = 'col-sm-6 col-lg-4 col-xl-3'
gridClass
string = 'row row--grid'
itemAdjective
string = undefined
itemType
string = undefined
layout
'grid' | 'row' = 'grid'
list
any[] = (): any[] => []
page
Orion.ListPage = (): Orion.ListPage => ({
size: 20,
index: 1,
})
selected
any[] = (): any[] => []
total
number = 0
trackKey
string = 'id'
useAutoPagination
boolean = false
useFooterSelected
boolean = true
usePaginationBottom
boolean = true
usePaginationTop
boolean = true
Events
Name
Payload type
update:page
Orion.ListPage
update:selected
any[]
clear-selection
No payload
paginate
number
Slots
Name
Bindings
default
No bindings
default
No bindings
footer-selected-actions
No bindings