We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 03ce8fa + 2b4d14a commit 506665cCopy full SHA for 506665c
1 file changed
src/gridstack.ts
@@ -267,6 +267,7 @@ export class GridStack {
267
* @param opts
268
*/
269
public constructor(el: GridHTMLElement, opts: GridStackOptions = {}) {
270
+ el.gridstack = this;
271
this.el = el; // exposed HTML element to the user
272
opts = opts || {}; // handles null/undefined/0
273
0 commit comments