如何在主页上加载图像时显示旋转器?
我试图在主页中添加一个旋转器。我已经宣布了另一个组件:
<Loading></Loading>
其中包括旋转器。 现在,如何在主页横幅部分中称其为上述组件?
I am trying to add a spinner in my home page. I have already declared another component:
<Loading></Loading>
where I included the spinner.
Now, how do I call this above-mentioned component in my home page banner section?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
嗨,要显示一个旋转器,您需要加载一些东西,对于大多数静态数据都会填充以非常快速显示。
加载大数据或从数据库获取数据时,加载是好的。
这是加载的一个很好的组成部分:
一些CSS:
现在,使用它(从数据库中加载用户的示例):
hi to display a spinner you need to load something, for most any static data will fill to display really fast.
loading is good when you load big data or get data from Data Base.
here is a good component of loading:
some CSS:
now, to use it(example of loading users from database):