g6/packages/site/docs/apis/behaviors/CollapseExpandTreeOptions.en.md

605 B

title order
CollapseExpandCombo 10
collapse and expand tree

disableAnimate

Type: boolean

Default: false

Whether to disable animation

trigger

Type: 'click' | 'dblclick'

Default: click

The event that triggers the collapse/expand of the tree