Skip to content

Commit

Permalink
tweak version tip
Browse files Browse the repository at this point in the history
  • Loading branch information
plainheart committed Jun 21, 2024
1 parent 377fbbe commit 3b17f6d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
3 changes: 1 addition & 2 deletions en/option/component/axis-common.md
Original file line number Diff line number Diff line change
Expand Up @@ -743,12 +743,11 @@ Base of logarithm, which is valid only for numeric axes with [type](~${component

<ExampleUIControlNumber />

To specify the start value of the axis.

{{ use: partial-version(
version = '5.5.1'
) }}

To specify the start value of the axis.

{{ use: partial-axis-common-axis-line(
prefix = ${prefix},
Expand Down
4 changes: 2 additions & 2 deletions en/option/partial/roam.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ Whether to enable mouse zooming and translating. `false` by default. If either z

{{ target: partial-scale-limit }}

Limit of scaling, with `min` and `max`.

{{ if: ${version} }}
{{ use: partial-version(
version = ${version}
) }}
{{ /if }}

Limit of scaling, with `min` and `max`.

#${prefix} min(number)

Minimum scaling
Expand Down
3 changes: 1 addition & 2 deletions zh/option/component/axis-common.md
Original file line number Diff line number Diff line change
Expand Up @@ -740,12 +740,11 @@ max: function (value) {

<ExampleUIControlNumber />

用于指定轴的起始值。

{{ use: partial-version(
version = '5.5.1'
) }}

用于指定轴的起始值。

{{ use: partial-axis-common-axis-line(
prefix = ${prefix},
Expand Down
4 changes: 2 additions & 2 deletions zh/option/partial/roam.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@

{{ target: partial-scale-limit }}

滚轮缩放的极限控制,通过 `min``max` 限制最小和最大的缩放值。

{{ if: ${version} }}
{{ use: partial-version(
version = ${version}
) }}
{{ /if }}

滚轮缩放的极限控制,通过 `min``max` 限制最小和最大的缩放值。

#${prefix} min(number)

最小的缩放值
Expand Down

0 comments on commit 3b17f6d

Please sign in to comment.