(
label: string,
onSubmit: (str: string) => void,
owner: Options,
{initText = "", password = false, spaceReplace = " ", name = ""} = {},
)
| 140 | elm.classList.remove("activeSetting"); |
| 141 | } |
| 142 | } |
| 143 | this.last = buttonInfo; |
| 144 | const elm = this.buttonMap.get(buttonInfo); |
| 145 | if (elm) { |
| 146 | elm.classList.add("activeSetting"); |
| 147 | } |
| 148 | let html: HTMLElement; |
| 149 | if (buttonInfo instanceof Options) { |
| 150 | buttonInfo.subOptions = undefined; |
| 151 | html = buttonInfo.generateHTML(); |
| 152 | } else { |
| 153 | html = this.handleString(buttonInfo); |
| 154 | } |
| 155 | |
| 156 | htmlarea.innerHTML = ""; |
| 157 | htmlarea.append(html); |
| 158 |
nothing calls this directly
no outgoing calls
no test coverage detected