* Create a new panel for the post. Add it to the end of the list of existing panels.
()
| 22 | * Create a new panel for the post. Add it to the end of the list of existing panels. |
| 23 | */ |
| 24 | newPanel() { |
| 25 | const newSign = new Sign(); |
| 26 | newSign.newSubPanel(); |
| 27 | |
| 28 | |
| 29 | const newPanel = new Panel(newSign, undefined); |
| 30 | const exitTab = new ExitTab(); |
| 31 | newPanel.exitTabs.push(exitTab); |
| 32 | |
| 33 | this.panels.push(newPanel); |
| 34 | } |
| 35 | |
| 36 | /** |
| 37 | * Duplicate an existing panel. Add it immediately after the panel being duplicated. |
no test coverage detected