Skip to content

Commit 963c204

Browse files
kingyue737Justineo
authored andcommitted
docs: remove showLoading and hideLoading (#842)
* docs: remove showLoading and hideLoading * docs: add note for `showLoading` and `hideLoading` method
1 parent bee810e commit 963c204

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,13 +439,14 @@ import { THEME_KEY } from 'vue-echarts'
439439
- `convertToPixel` [→](https://echarts.apache.org/en/api.html#echartsInstance.convertToPixel)
440440
- `convertFromPixel` [→](https://echarts.apache.org/en/api.html#echartsInstance.convertFromPixel)
441441
- `containPixel` [→](https://echarts.apache.org/en/api.html#echartsInstance.containPixel)
442-
- `showLoading` [→](https://echarts.apache.org/en/api.html#echartsInstance.showLoading)
443-
- `hideLoading` [→](https://echarts.apache.org/en/api.html#echartsInstance.hideLoading)
444442
- `getDataURL` [→](https://echarts.apache.org/en/api.html#echartsInstance.getDataURL)
445443
- `getConnectedDataURL` [→](https://echarts.apache.org/en/api.html#echartsInstance.getConnectedDataURL)
446444
- `clear` [→](https://echarts.apache.org/en/api.html#echartsInstance.clear)
447445
- `dispose` [→](https://echarts.apache.org/en/api.html#echartsInstance.dispose)
448446
447+
> [!NOTE]
448+
> [`showLoading`](https://echarts.apache.org/en/api.html#echartsInstance.showLoading) and [`hideLoading`](https://echarts.apache.org/en/api.html#echartsInstance.hideLoading) are not exposed. Use the **`loading`** and **`loading-options`** props.
449+
449450
### Static Methods
450451
451452
Static methods can be accessed from [`echarts` itself](https://echarts.apache.org/en/api.html#echarts).

README.zh-Hans.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,13 +439,14 @@ import { THEME_KEY } from 'vue-echarts'
439439
- `convertToPixel` [→](https://echarts.apache.org/zh/api.html#echartsInstance.convertToPixel)
440440
- `convertFromPixel` [→](https://echarts.apache.org/zh/api.html#echartsInstance.convertFromPixel)
441441
- `containPixel` [→](https://echarts.apache.org/zh/api.html#echartsInstance.containPixel)
442-
- `showLoading` [→](https://echarts.apache.org/zh/api.html#echartsInstance.showLoading)
443-
- `hideLoading` [→](https://echarts.apache.org/zh/api.html#echartsInstance.hideLoading)
444442
- `getDataURL` [→](https://echarts.apache.org/zh/api.html#echartsInstance.getDataURL)
445443
- `getConnectedDataURL` [→](https://echarts.apache.org/zh/api.html#echartsInstance.getConnectedDataURL)
446444
- `clear` [→](https://echarts.apache.org/zh/api.html#echartsInstance.clear)
447445
- `dispose` [→](https://echarts.apache.org/zh/api.html#echartsInstance.dispose)
448446
447+
> [!NOTE]
448+
> [`showLoading`](https://echarts.apache.org/zh/api.html#echartsInstance.showLoading) 和 [`hideLoading`](https://echarts.apache.org/zh/api.html#echartsInstance.hideLoading) 未被暴露,请使用 **`loading`** 和 **`loading-options`** prop。
449+
449450
### 静态方法
450451
451452
静态方法请直接通过 [`echarts` 本身](https://echarts.apache.org/zh/api.html#echarts)进行调用。

0 commit comments

Comments
 (0)