* Remove a button by its string identifier
(string: string)
| 66 | * Remove a button by its string identifier |
| 67 | */ |
| 68 | static removeButton (string: string): void { |
| 69 | this.engine.configuration(this.tag, { |
| 70 | buttons: this.buttons().filter((button: MenuButton) => button.string !== string) |
| 71 | }); |
| 72 | |
| 73 | this.onConfigurationUpdate(); |
| 74 | } |
| 75 | |
| 76 | /** |
| 77 | * Get all buttons |
no test coverage detected