@internal
()
| 1838 | |
| 1839 | /** @internal */ |
| 1840 | public _triggerRemoveEvent(): GridStack { |
| 1841 | if (this.engine.batchMode) return this; |
| 1842 | if (this.engine.removedNodes?.length) { |
| 1843 | const removedNodes = [...this.engine.removedNodes]; |
| 1844 | this.engine.removedNodes = []; |
| 1845 | this._triggerEvent('removed', removedNodes); |
| 1846 | } |
| 1847 | return this; |
| 1848 | } |
| 1849 | |
| 1850 | /** @internal */ |
| 1851 | protected _triggerEvent(type: string, data?: GridStackNode[]): GridStack { |
no test coverage detected