Remove the WidgetState proto with the given id, if it exists.
(widgetId: string)
| 163 | |
| 164 | /** Remove the WidgetState proto with the given id, if it exists. */ |
| 165 | public deleteState(widgetId: string): void { |
| 166 | this.widgetStates.delete(widgetId) |
| 167 | } |
| 168 | |
| 169 | /** Remove the state of widgets that are not contained in `activeIds`. */ |
| 170 | public removeInactive(activeIds: Set<string>): void { |
no test coverage detected