MCPcopy
hub / github.com/visgl/deck.gl / handleClick

Method handleClick

modules/widgets/src/fullscreen-widget.tsx:99–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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();

Callers 1

onRenderHTMLMethod · 0.95

Calls 3

getFullscreenMethod · 0.95
exitFullscreenMethod · 0.95
requestFullscreenMethod · 0.95

Tested by

no test coverage detected