Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 调整 loading demo #2132

Merged
merged 1 commit into from
Feb 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions src/loading/loading.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
:: BASE_DOC ::
### 挂载到指定元素

可通过 `attach` 挂载到指定元素。
### 指令方式调用
支持 `v-loading` 指令调用 `Loading`,只需要绑定 `boolean` 值即可,支持 `fullscreen` 和 `inheritColor` 修饰符,分别对应其属性。

注:被挂载元素(loading的父元素)需设置:`position: relative;`

{{ attach }}
{{ directive }}

## API
### Loading Props
Expand Down