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

[comp:other] 新增组件 loading-bar #971

Closed
1 task done
danranVm opened this issue Jun 22, 2022 · 3 comments · Fixed by #1023
Closed
1 task done

[comp:other] 新增组件 loading-bar #971

danranVm opened this issue Jun 22, 2022 · 3 comments · Fixed by #1023
Assignees

Comments

@danranVm
Copy link
Member

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

全局 loading 的问题。

image

What does the proposed API look like?

  • status: loading | finish | error, 加载状态
  • mask: boolean, 是否显示遮罩

最好提供一个 provider, 然后提供 useLoadingBar 的 API 形式调用。

@idux-bot
Copy link

idux-bot bot commented Jun 22, 2022

Translation of this issue:

[Comp: Other] Added component Loading-Bar

What PROBLEM DOES This Feature Solve?

Global loading problem.

! [Image] (https://user-images.githubusercontent.com/25052421/174987802-2cd043f6-1762-42-0f48d54f7.png))

What does the proposed api look like?

-STatus: Loading | Finish | Error, loading status
-Mask: Boolean, whether to show a mask

It is best to provide a provider, and then provide an API form of userLoadingbar.

@qingshan-dev
Copy link
Contributor

yes

@qingshan-dev
Copy link
Contributor

qingshan-dev commented Jul 26, 2022

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants