Add fullscreen button back
This commit is contained in:
parent
8248b1c274
commit
9715f0fab5
1 changed files with 7 additions and 0 deletions
|
@ -27,6 +27,13 @@
|
||||||
{label}</button
|
{label}</button
|
||||||
>
|
>
|
||||||
{/each}
|
{/each}
|
||||||
|
<button
|
||||||
|
onclick={() => {
|
||||||
|
if (containerElement) {
|
||||||
|
containerElement.requestFullscreen();
|
||||||
|
}
|
||||||
|
}}>Fullscreen</button
|
||||||
|
>
|
||||||
{/if}
|
{/if}
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue