Merge pull request #559 from theodorejb/master

Updated spin.js definition to match v1.3 of the library
This commit is contained in:
Boris Yankov
2013-05-19 12:04:59 -07:00
+2 -1
View File
@@ -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