@internal
(event: MouseEvent)
| 205 | |
| 206 | /** @internal */ |
| 207 | protected _resizeStop(event: MouseEvent): DDResizable { |
| 208 | const ev = Utils.initEvent<MouseEvent>(event, { type: 'resizestop', target: this.el }); |
| 209 | // Remove style attr now, so the stop handler can rebuild style attrs |
| 210 | this._cleanHelper(); |
| 211 | if (this.option.stop) { |
| 212 | this.option.stop(ev); // Note: ui() not used by gridstack so don't pass |
| 213 | } |
| 214 | this.el.classList.remove('ui-resizable-resizing'); |
| 215 | this.triggerEvent('resizestop', ev); |
| 216 | delete this.startEvent; |
| 217 | delete this.originalRect; |
| 218 | delete this.temporalRect; |
| 219 | delete this.scrollY; |
| 220 | delete this.scrolled; |
| 221 | return this; |
| 222 | } |
| 223 | |
| 224 | /** @internal */ |
| 225 | protected _setupHelper(): DDResizable { |
no test coverage detected