(hideButtons = false)
| 48 | this.titles = titles; |
| 49 | } |
| 50 | add( |
| 51 | name: string, |
| 52 | inner?: Options, |
| 53 | contained?: boolean, |
| 54 | head?: boolean, |
| 55 | color?: buttonColor, |
| 56 | initable?: boolean, |
| 57 | ) { |
| 58 | if (!inner) { |
| 59 | inner = new Options(this.titles ? name : "", this); |
| 60 | } |
| 61 | const button = { |
| 62 | name, |
| 63 | inner, |
| 64 | contained, |
| 65 | head, |
| 66 | color, |
| 67 | initable, |
| 68 | }; |
| 69 | this.buttons.push(button); |
| 70 | const htmlarea = this.htmlarea.deref(); |
nothing calls this directly
no test coverage detected