mirror of
https://gitee.com/antv/g6.git
synced 2024-12-15 18:11:08 +08:00
1.2 KiB
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".