GeoTree Ready 29.9.0+

Properties

Prop name Type Default value Description
draggableGroup object Show description
searchPlaceholder string Show description
loadingLabel string Show description
noResultsFoundLabel string Show description
categories array Show description
keyForId string 'id' Show description
keyForLabel string 'label' Show description
keyForSubcategory string 'subcategories' Show description
searchable boolean false Show description
descriptionIcon array Show description
isLoading boolean false Show description
checkedItems object {} Show description
maxCheckedItems number Show description
dynamicExpandedCategories object Show description
collapsedIcon array
function () {
  return ['fal', 'chevron-right']
}
Show description
expandedIcon array Show description
sortingProps array Show description
sortingDirection string 'asc' Show description
isSingleSelectMode boolean false Show description
hasLoadMoreButton boolean false Show description
pageSize number 20 Show description

Events

Name Type Description
start-drag undefined
end-drag undefined
change-drag undefined
check-item undefined
check-folder undefined

Slots

Name Description
moreItemsTextContent
actionButton
moreCategoriesTextContent

Constants

This component has no exported constants.

Examples

Basic example (item and folder events)

With action button

Using custom icons

With info tooltip icon

Searchable

With initially expanded categories

With drag support

Single select mode (take into account the logic remains on how to handle checked-items prop)

With max number of items checked

With load more button