mirror of
https://gitee.com/antv/g6.git
synced 2024-12-16 02:21:25 +08:00
1.8 KiB
1.8 KiB
title |
---|
HistoryConfig |
Overview - v5.0.0-alpha.9 / Modules / plugins / HistoryConfig
plugins.HistoryConfig
The HistoryConfig
interface contains two properties: enableStack
and stackCfg
.
enableStack
is an optional boolean value that indicates whether to enable the stack.stackCfg
is a requiredStackCfg
type, representing the stack configuration.
Hierarchy
-
IPluginBaseConfig
↳
HistoryConfig
Properties
className
• Optional
className: string
Inherited from
IPluginBaseConfig.className
Defined in
packages/g6/src/types/plugin.ts:6
container
• Optional
container: string
| HTMLDivElement
Inherited from
IPluginBaseConfig.container
Defined in
packages/g6/src/types/plugin.ts:5
enableStack
• Optional
enableStack: boolean
Defined in
packages/g6/src/stdlib/plugin/history/index.ts:15
graph
• Optional
graph: IGraph
<BehaviorRegistry
, ThemeRegistry
>
Inherited from
IPluginBaseConfig.graph
Defined in
packages/g6/src/types/plugin.ts:7
stackCfg
• stackCfg: StackCfg