mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Add beforeClose option and isOpened() function
This commit is contained in:
Vendored
+3
-1
@@ -1,4 +1,4 @@
|
||||
// Type definitions for Drop v0.5.7
|
||||
// Type definitions for Drop v1.3.0
|
||||
// Project: http://github.hubspot.com/drop/
|
||||
// Definitions by: Adi Dahiya <https://github.com/adidahiya>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
@@ -26,6 +26,7 @@ declare module drop {
|
||||
constrainToWindow?: boolean;
|
||||
constrainToScrollParent?: boolean;
|
||||
remove?: boolean;
|
||||
beforeClose?: () => boolean;
|
||||
tetherOptions?: tether.ITetherOptions;
|
||||
}
|
||||
|
||||
@@ -37,6 +38,7 @@ declare module drop {
|
||||
close(): void;
|
||||
remove(): void;
|
||||
toggle(): void;
|
||||
isOpened(): boolean;
|
||||
position(): void;
|
||||
destroy(): void;
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user