mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Update drop typings for Drop v0.5.7
This commit is contained in:
+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