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

Interface HTMLElementExtendOpt

src/dd-base-impl.ts:91–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89 * Used to associate DD configuration with DOM elements.
90 */
91export interface HTMLElementExtendOpt<T> {
92 /** The HTML element being extended */
93 el: HTMLElement;
94 /** The drag & drop options/configuration */
95 option: T;
96 /** Method to update the options and return the DD implementation */
97 updateOption(T): DDBaseImplement;
98}

Callers 5

setupDraggableMethod · 0.65
setupResizableMethod · 0.65
setupDroppableMethod · 0.65

Implementers 3

DDDraggablesrc/dd-draggable.ts
DDResizablesrc/dd-resizable.ts
DDDroppablesrc/dd-droppable.ts

Calls

no outgoing calls

Tested by

no test coverage detected