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