(visible)
| 218 | } |
| 219 | |
| 220 | #syncStatus(visible) { |
| 221 | if (!this.#status) { |
| 222 | return; |
| 223 | } |
| 224 | |
| 225 | const total = this.#rows.length; |
| 226 | this.#status.value = String(visible); |
| 227 | this.#status.textContent = visible === total ? `${total} rows` : `${visible} of ${total} rows`; |
| 228 | } |
| 229 | |
| 230 | #toggleVisibleRows(checked) { |
| 231 | this.#visibleRows().forEach(row => { |