mirror of
https://github.com/Doodle3D/doodle3d-connect.git
synced 2024-12-25 18:13: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");
|
$preloader = $("#preloader");
|
||||||
|
|
||||||
var spinnerSettings = {
|
var spinnerSettings = {
|
||||||
lines: 13, // The number of lines to draw
|
lines: 7, // The number of lines to draw
|
||||||
length: 5, // The length of each line
|
length: 0, // The length of each line
|
||||||
width: 3, // The line thickness
|
width: 14, // The line thickness
|
||||||
radius: 7, // The radius of the inner circle
|
radius: 15, // The radius of the inner circle
|
||||||
corners: 1, // Corner roundness (0..1)
|
corners: 1, // Corner roundness (0..1)
|
||||||
rotate: 0, // The rotation offset
|
rotate: 0, // The rotation offset
|
||||||
direction: 1, // 1: clockwise, -1: counterclockwise
|
direction: 1, // 1: clockwise, -1: counterclockwise
|
||||||
color: '#57BF42', // #rgb or #rrggbb or array of colors
|
color: '#57BF42', // #rgb or #rrggbb or array of colors
|
||||||
speed: 1, // Rounds per second
|
speed: 1.2, // Rounds per second
|
||||||
trail: 60, // Afterglow percentage
|
trail: 69, // Afterglow percentage
|
||||||
shadow: false, // Whether to render a shadow
|
shadow: false, // Whether to render a shadow
|
||||||
hwaccel: false, // Whether to use hardware acceleration
|
hwaccel: false, // Whether to use hardware acceleration
|
||||||
className: 'spinner', // The CSS class to assign to the spinner
|
className: 'spinner', // The CSS class to assign to the spinner
|
||||||
|
Loading…
Reference in New Issue
Block a user