g6/packages/site/docs/apis/behaviors/WIP-CollapseExpandComboOptions.en.md
2023-11-07 21:39:59 +08:00

1.2 KiB

title
CollapseExpandComboOptions

Overview - v5.0.0-beta.21 / Modules / behaviors / CollapseExpandComboOptions

behaviors.CollapseExpandComboOptions

Properties

shouldBegin

Optional shouldBegin: (event: IG6GraphEvent) => boolean

Type declaration

▸ (event): boolean

Whether allow the behavior happen on the current item.

Parameters
Name Type
event IG6GraphEvent
Returns

boolean

Defined in

packages/g6/src/stdlib/behavior/collapse-expand-combo.ts:22


trigger

trigger: "click" | "dblclick"

The key to pressed with mouse click to apply multiple selection. Defaults to "dblclick". Could be "dblclick", "click".

Defined in

packages/g6/src/stdlib/behavior/collapse-expand-combo.ts:18