Questions tagged [spin.js]

Spin.js dynamically creates spinning activity indicators that can be used as resolution-independent replacement for AJAX loading GIFs

Spin.js dynamically creates spinning activity indicators that can be used as resolution-independent replacement for AJAX loading GIFs

Feature Overview

  • No images, no external CSS
  • No dependencies (jQuery is supported, but not required)
  • Highly configurable
  • Resolution independent
  • Uses VML as fallback in old IEs
  • Uses @keyframe animations, falling back to setTimeout()
  • Works in all major browsers, including IE6

Documentation & Links

36 questions
1
vote
1 answer

spin.js spinner not showing

I use spin in a webapplication and it works just fine, but in one case, it doesn't. Before I make an ajax call, i call the function showLoading(); function showLoading() { $('
').appendTo(document.body); var target…
a-x-i
  • 303
  • 5
  • 13
1
vote
1 answer

Django spinner when loading (spin.js)

i am new in Django and this things, and i need some tips or solutions to adding spinner. Iam using spin.js, which i show it on this way: var target = document.getElementById('spin'); var spinner = new Spinner(opts).spin(target); …
juree
  • 253
  • 2
  • 12
0
votes
1 answer

How to use spin.js from client (Javascript, Node)

I'm trying to use spin.js (https://spin.js.org/#!) from the client but am I have some problems. Doing npm install spin.js then const Spinner = require('spin.js'); does not work as you need to browserify the module in order to use the module from…
ykonda
  • 499
  • 6
  • 15
0
votes
1 answer

Line spinner using css animation

Is there any way to add line spinner (from spin.js - https://spin.js.org) using plain css animation without using javascript (example: https://www.w3schools.com/howto/howto_css_loader.asp)?
developer
  • 1,401
  • 4
  • 28
  • 73
0
votes
1 answer

Adding spinner element into react throws dependency error

I added a spinner to my react app npm install react-spinjs --save After installation I get the following warning npm WARN react-spinjs@3.0.0 requires a peer of react@^0.14.0 || ^15.0.1 but none was installed. It looks like the _react object in…
Brian Kalski
  • 897
  • 9
  • 35
0
votes
1 answer

jQuery submit() with spin.js is preventing form from submitting?

I have a form that submits just fine, but when I add jQuery code to show a loading div using spin.js everything stops working.