@internal
()
| 1808 | |
| 1809 | /** @internal */ |
| 1810 | protected _triggerChangeEvent(): GridStack { |
| 1811 | if (this.engine.batchMode) return this; |
| 1812 | const elements = this.engine.getDirtyNodes(true); // verify they really changed |
| 1813 | if (elements && elements.length) { |
| 1814 | if (!this._ignoreLayoutsNodeChange) { |
| 1815 | this.engine.layoutsNodesChange(elements); |
| 1816 | } |
| 1817 | this._triggerEvent('change', elements); |
| 1818 | } |
| 1819 | this.engine.saveInitial(); // we called, now reset initial values & dirty flags |
| 1820 | return this; |
| 1821 | } |
| 1822 | |
| 1823 | /** @internal */ |
| 1824 | protected _triggerAddEvent(): GridStack { |
no test coverage detected