mirror of
https://github.com/Doodle3D/doodle3d-connect.git
synced 2024-12-25 01:53:48 +01:00
Nicer loader indicator
This commit is contained in:
parent
81a80da7c5
commit
2a42ab28d5
12
js/main.js
12
js/main.js
@ -19,16 +19,16 @@ $(function() {
|
||||
$preloader = $("#preloader");
|
||||
|
||||
var spinnerSettings = {
|
||||
lines: 13, // The number of lines to draw
|
||||
length: 5, // The length of each line
|
||||
width: 3, // The line thickness
|
||||
radius: 7, // The radius of the inner circle
|
||||
lines: 7, // The number of lines to draw
|
||||
length: 0, // The length of each line
|
||||
width: 14, // The line thickness
|
||||
radius: 15, // The radius of the inner circle
|
||||
corners: 1, // Corner roundness (0..1)
|
||||
rotate: 0, // The rotation offset
|
||||
direction: 1, // 1: clockwise, -1: counterclockwise
|
||||
color: '#57BF42', // #rgb or #rrggbb or array of colors
|
||||
speed: 1, // Rounds per second
|
||||
trail: 60, // Afterglow percentage
|
||||
speed: 1.2, // Rounds per second
|
||||
trail: 69, // Afterglow percentage
|
||||
shadow: false, // Whether to render a shadow
|
||||
hwaccel: false, // Whether to use hardware acceleration
|
||||
className: 'spinner', // The CSS class to assign to the spinner
|
||||
|
Loading…
Reference in New Issue
Block a user