Add navigationUI option to requestFullscreen()
This commit is contained in:
@@ -1477,7 +1477,9 @@ export function toggleFullscreen(){
|
|||||||
const exitFullscreen = document.exitFullscreen ?? document.webkitExitFullscreen as typeof document.exitFullscreen
|
const exitFullscreen = document.exitFullscreen ?? document.webkitExitFullscreen as typeof document.exitFullscreen
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
const fullscreenElement = document.fullscreenElement ?? document.webkitFullscreenElement as typeof document.fullscreenElement
|
const fullscreenElement = document.fullscreenElement ?? document.webkitFullscreenElement as typeof document.fullscreenElement
|
||||||
fullscreenElement ? exitFullscreen() : requestFullscreen()
|
fullscreenElement ? exitFullscreen() : requestFullscreen({
|
||||||
|
navigationUI: "hide"
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function trimNonLatin(data:string){
|
export function trimNonLatin(data:string){
|
||||||
|
|||||||
Reference in New Issue
Block a user