Skip to content

Hope that Spin will provide the way to use the service #4312

@codexu

Description

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

What problem does this feature solve?

如果提供服务的方式,可以更加方便的使用 hook 的方式使用加载效果。相同的功能在 element-plus 中有服务功能,https://element-plus.gitee.io/#/zh-CN/component/loading#fu-wu。

What does the proposed API look like?

 Spin.service({
  target: HtmlElement,
  text: string,
  background: string,
  ...
});

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions