MCPcopy Create free account
hub / github.com/TruthHun/BookStack / DropPanel

Function DropPanel

static/wangEditor/js/wangEditor.js:1715–1725  ·  view source on GitHub ↗
(editor, menu, opt)

Source from the content-addressed store, hash-verified

1713
1714 // 定义构造函数
1715 var DropPanel = function (editor, menu, opt) {
1716 this.editor = editor;
1717 this.menu = menu;
1718 this.$content = opt.$content;
1719 this.width = opt.width || 200;
1720 this.height = opt.height;
1721 this.onRender = opt.onRender;
1722
1723 // init
1724 this.init();
1725 };
1726
1727 DropPanel.fn = DropPanel.prototype;
1728

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected