Merge branch 'master' into rename-repo-url

This commit is contained in:
vvakame
2016-03-17 21:06:54 +09:00
1140 changed files with 179704 additions and 179635 deletions
+6 -6
View File
@@ -3,7 +3,7 @@
// Definitions by: Bruno Grieder <https://github.com/bgrieder>, Clayton Lautier <https://github.com/claylaut>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module Switchery {
declare namespace Switchery {
interface SwitcheryStatic {
new (node: Node, options?: Options): Switchery;
@@ -63,26 +63,26 @@ interface Switchery {
/**
* Unbinding all event handlers attached to the switch element to prepare the object for garbage collection.
* @returns {void}
* @returns {void}
*/
destroy(): void;
/**
* Enable disabled switch by re-adding event handlers and changing the opacity to 1.
* @returns {void}
* @returns {void}
*/
enable(): void;
/**
* Disable switch by unbinding attached events and changing opacity to disabledOpacity value
* @returns {void}
* @returns {void}
*/
disable(): void;
/**
* Check if switch is currently disabled by checking the readonly and disabled attributes on the checkbox and the disabled option set via JS.
* If any of those are present, the returned value is true.
* @returns {boolean} whether it's disabled or not.
* @returns {boolean} whether it's disabled or not.
*/
isDisabled(): boolean;
}
@@ -90,4 +90,4 @@ interface Switchery {
declare module "switchery" {
var switchery: Switchery.SwitcheryStatic;
export default switchery;
}
}