(row, hard)
| 301 | } |
| 302 | |
| 303 | destroyRow (row, hard) { |
| 304 | const holder = row.container |
| 305 | if (hard) { |
| 306 | row.destroy() |
| 307 | if (holder.parentNode) holder.parentNode.removeChild(holder) |
| 308 | if (this.checkParent(row.tab)) row.tab.parentNode.removeChild(row.tab) |
| 309 | } else { |
| 310 | if (row.tab) row.tab.style.display = 'none' |
| 311 | holder.style.display = 'none' |
| 312 | row.unregister() |
| 313 | } |
| 314 | } |
| 315 | |
| 316 | getMax () { |
| 317 | if ((Array.isArray(this.schema.items)) && this.schema.additionalItems === false) { |
no test coverage detected