mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Update spin.js definitions for v2.3.2
This commit is contained in:
parent
3fc1377ce2
commit
86d2c008d4
@ -23,7 +23,11 @@ var opts2 = {
|
||||
className: 'spinner',
|
||||
zIndex: 5,
|
||||
top: '28',
|
||||
left: 'auto'
|
||||
left: 'auto',
|
||||
scale: 1,
|
||||
opacity: 0.25,
|
||||
fps: 20,
|
||||
position: 'absolute'
|
||||
};
|
||||
|
||||
var newTarget = document.getElementById('bar');
|
||||
|
||||
6
spin/spin.d.ts
vendored
6
spin/spin.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
// Type definitions for Spin.js 1.3.1
|
||||
// Type definitions for Spin.js 2.3.2
|
||||
// Project: http://fgnass.github.com/spin.js/
|
||||
// Definitions by: Boris Yankov <https://github.com/borisyankov/>, Theodore Brown <https://github.com/theodorejb/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
@ -21,6 +21,10 @@ interface SpinnerOptions {
|
||||
zIndex?: number; // The z-index (defaults to 2000000000)
|
||||
top?: string; // Top position relative to parent in px
|
||||
left?: string; // Left position relative to parent in px
|
||||
scale?: number; // Scales overall size of the spinner
|
||||
opacity?: number; // Opacity of the lines
|
||||
fps?: number; // Frames per second when using setTimeout() as a fallback for CSS
|
||||
position?: string; // Element positioning
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user