MCPcopy Index your code
hub / github.com/gridstack/gridstack.js / setupDroppable

Method setupDroppable

src/dd-element.ts:84–91  ·  view source on GitHub ↗
(opts: DDDroppableOpt)

Source from the content-addressed store, hash-verified

82 }
83
84 public setupDroppable(opts: DDDroppableOpt): DDElement {
85 if (!this.ddDroppable) {
86 this.ddDroppable = new DDDroppable(this.el, opts);
87 } else {
88 this.ddDroppable.updateOption(opts);
89 }
90 return this;
91 }
92
93 public cleanDroppable(): DDElement {
94 if (this.ddDroppable) {

Callers 2

droppableMethod · 0.80

Calls 1

updateOptionMethod · 0.65

Tested by

no test coverage detected