How to use spin.js
This article introduces the knowledge of "how to use spin.js". In the operation of actual cases, many people will encounter such a dilemma. Next, let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Spin.js is a jQuery-based Loading animation plug-in. Unlike the previously shared CSS3Loading animation application, this Loading animation is based on jQuery, which means better compatibility.
Spin add reference:
Parent container of spiner:
Spiner initialization parameters:
/ / opts can be made online from the website
Varspin_opts= {
Number of petals in lines:10,//
Length:0,// petal length
Width:20,// petal width
Radius from petal to center of radius:40,//
Scale:0.75
Corners:1,// petal roundness (0-1)
Opacity:0
That's all for "how to use spin.js". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!