()
| 644 | disconnect() {} |
| 645 | |
| 646 | addData() { |
| 647 | const nextIndex = this.data.length + 1; |
| 648 | |
| 649 | let copiedData = this.data.slice(); |
| 650 | copiedData.push({ |
| 651 | a: `a_${nextIndex}`, |
| 652 | b: `b_${nextIndex}`, |
| 653 | c: `c_${nextIndex}`, |
| 654 | }); |
| 655 | |
| 656 | this.data = copiedData; |
| 657 | } |
| 658 | } |
| 659 | |
| 660 | @Component({ |
no test coverage detected