(button: JQuery, panel: JQuery)
| 346 | } |
| 347 | |
| 348 | togglePanel(button: JQuery, panel: JQuery) { |
| 349 | if (panel.hasClass('d-none')) { |
| 350 | this.showPanel(button, panel); |
| 351 | } else { |
| 352 | this.hidePanel(button, panel); |
| 353 | } |
| 354 | this.updateState(); |
| 355 | } |
| 356 | |
| 357 | override getCurrentState() { |
| 358 | const options = this.getEffectiveOptions(); |
no test coverage detected