mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-28 12:30:21 +08:00
Update drop typings for Drop v0.5.7
This commit is contained in:
1 parent
cb08e83dd8
commit
a585282c8a
2 files changed
+11
-3
No files matched your search
+9
-1
@@ -10,7 +10,10 @@ var d = new Drop({
|
||||
constrainToWindow: true,
|
||||
constrainToScrollParent: true,
|
||||
classes: "",
|
||||
tetherOptions: {}
|
||||
tetherOptions: {},
|
||||
remove: true,
|
||||
target: yellowBox,
|
||||
content: greenBox
|
||||
});
|
||||
|
||||
d.open();
|
||||
@@ -26,3 +29,8 @@ d.once("close", () => null);
|
||||
d.off("close", () => null);
|
||||
d.off("open");
|
||||
|
||||
var e = new Drop({
|
||||
target: yellowBox,
|
||||
content: () => greenBox
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user