SpinKit

SpinKit(API12)
🏆Introduction and Recommendations
SpinKit is a loading animation library for OpenHarmony/HarmonyOS.
harmony-utils A HarmonyOS tool library with rich features and extremely easy to use, with the help of many practical tools, is committed to helping developers quickly build Hongmeng applications.
harmony-dialog An extremely simple and easy-to-use zero-invasion pop-up window, which can be easily implemented with just one line of code, and can be easily popped up no matter where you are.
📚Download and install
ohpm i @pura/spinkit
OpenHarmony ohpm For more information, please refer to如何安装 OpenHarmony ohpm 包
📚Result Picture
The renderings are slightly stumbled, please run the source code or add dependencies to view the effect.
📚SpinKit Component
Properties | Introduction |
spinType | Animation type |
spinSize | Animation size, default 60 |
spinColor | Animation color, default white |
SpinKit()
SpinKit({ spinType: SpinType.spinA })
SpinKit({ spinType: SpinType.spinH })
SpinKit({
spinType: SpinType.spinA,
spinColor: Color.Pink,
spinSize: 70
})
Please move the loading boxharmony-dialog
💖 Communication and communication 🙏
Any problems found during use can be askedIssueGive us; Of course, we also welcome you to send us a messagePR 。
https://gitee.com/tongyuyan/harmony-utils
https://github.com/787107497
🌏Open Source Protocol
This project is based onApache License 2.0, when copying and borrowing codes, please be sure to indicate the source.
Subscribe to my newsletter
Read articles from 桃花镇童长老 directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
