()
| 97 | } |
| 98 | |
| 99 | async handleClick() { |
| 100 | const isFullscreen = this.getFullscreen(); |
| 101 | if (isFullscreen) { |
| 102 | await this.exitFullscreen(); |
| 103 | } else { |
| 104 | await this.requestFullscreen(); |
| 105 | } |
| 106 | // Note: updateHTML is called by onFullscreenChange event handler |
| 107 | } |
| 108 | |
| 109 | async requestFullscreen() { |
| 110 | const container = this.getContainer(); |
no test coverage detected