mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-25 11:11:46 +08:00
Merge pull request #6218 from tlsim/spin
Update spin.js definitions for v2.3.2
This commit is contained in:
+5
-1
@@ -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');
|
||||
|
||||
Vendored
+5
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user