mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 06:50:19 +00:00
Merge pull request #559 from theodorejb/master
Updated spin.js definition to match v1.3 of the library
This commit is contained in:
Vendored
+2
-1
@@ -1,4 +1,4 @@
|
||||
// Type definitions for Spin.js 1.2
|
||||
// Type definitions for Spin.js 1.3
|
||||
// Project: http://fgnass.github.com/spin.js/
|
||||
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
@@ -11,6 +11,7 @@ interface SpinnerOptions {
|
||||
radius?: number; // The radius of the inner circle
|
||||
corners?: number; // Corner roundness (0..1)
|
||||
rotate?: number; // The rotation offset
|
||||
direction?: number; // 1: clockwise, -1: counterclockwise
|
||||
color?: string; // #rgb or #rrggbb
|
||||
speed?: number; // Rounds per second
|
||||
trail?: number; // Afterglow percentage
|
||||
|
||||
Reference in New Issue
Block a user