///<reference path="../tether/tether.d.ts" />
///<reference path="tether-drop.d.ts" />

import 'tether-drop';

var yellowBox = document.querySelector(".yellow");
var greenBox = document.querySelector(".green");

var d = new Drop({
    position: "bottom left",
    openOn: "click",
    constrainToWindow: true,
    constrainToScrollParent: true,
    classes: "",
    tetherOptions: {},
    remove: true,
    target: yellowBox,
    content: greenBox
});

d.open();
d.close();
d.remove();
d.toggle();
d.position();
d.destroy();
d.content.appendChild(document.createElement("div"));
d.tether.position();

d.on("open", () => false);
d.on("close", () => false);
d.once("close", () => false);
d.off("close", () => false);
d.off("open");

var e = new Drop({
    target: yellowBox,
    content: () => greenBox
});

var Tooltip = Drop.createContext({
    classPrefix: 'tooltip'
});

var t = new Tooltip({
    target: yellowBox,
    content: () => greenBox
});

///<reference path="../tether/tether.d.ts" />
///<reference path="tether-drop.d.ts" />

import 'tether-drop';

var yellowBox = document.querySelector(".yellow");
var greenBox = document.querySelector(".green");

var d = new Drop({
    position: "bottom left",
    openOn: "click",
    constrainToWindow: true,
    constrainToScrollParent: true,
    classes: "",
    tetherOptions: {},
    remove: true,
    target: yellowBox,
    content: greenBox
});

d.open();
d.close();
d.remove();
d.toggle();
d.position();
d.destroy();
d.drop.appendChild(document.createElement("div"));
d.tether.position();

d.on("open", () => false);
d.on("close", () => false);
d.once("close", () => false);
d.off("close", () => false);
d.off("open");

var e = new Drop({
    target: yellowBox,
    content: () => greenBox
});

var Tooltip = Drop.createContext({
    classPrefix: 'tooltip'
});

var t = new Tooltip({
    target: yellowBox,
    content: () => greenBox
});

--- 
+++ 
@@ -24,7 +24,7 @@
 d.toggle();
 d.position();
 d.destroy();
-d.drop.appendChild(document.createElement("div"));
+d.content.appendChild(document.createElement("div"));
 d.tether.position();
 
 d.on("open", () => false);
[tether-drop] Fix test containing 'drop' property