diff --git a/en/option/component/legend.md b/en/option/component/legend.md index 4fedcede..ac97dae3 100644 --- a/en/option/component/legend.md +++ b/en/option/component/legend.md @@ -487,6 +487,14 @@ The gap between the selector button. The gap between selector button and legend component. +## triggerEvent(boolean) = false + +{{ use: partial-version( + version = "6.0.0" +) }} + +Set this to `true` to enable triggering events. + {{ target: partial-legend-style }} diff --git a/zh/option/component/legend.md b/zh/option/component/legend.md index 410c83e8..7e7e7da9 100644 --- a/zh/option/component/legend.md +++ b/zh/option/component/legend.md @@ -581,7 +581,13 @@ selector: ['all', 'inverse'] 选择器按钮与图例组件之间的间隔。 +## triggerEvent(boolean) = false +{{ use: partial-version( + version = "6.0.0" +) }} + +是否触发事件。 {{ target: partial-legend-style }}