Skip to content

OverflowCollapseList

OverflowCollapseList

Automatic overflow calculation folding item component, used in a series of button groups in CodeLayout. Exporting is convenient for you to use.

Props

PropertyDescriptionTypeDefault
itemsItems to display, render by slotany[]
activeItemActivated item, activated item will not be hiddenany-
directionDirection of the list, horizontal or vertical'vertical'│'horizontal''horizontal'
itemMenuLabelLabel of the item in the context menu(item: any) => string-
itemCollapseMerginMergin of the item when collapse(item: any) => string30

Slots

Slot nameDescriptionParam
itemItem rendering slot-

Events

Event nameDescriptionParam
overflowItemClickedTriggered when the user clicks on the overflow menu itemitem: any

Released under the MIT License.