You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
536 B

interface HTMLElement {
webkitRequestFullScreen(options?: FullscreenOptions): Promise<void>
mozRequestFullScreen(options?: FullscreenOptions): Promise<void>
msRequestFullscreen(options?: FullscreenOptions): Promise<void>
}
interface Document {
webkitFullscreenElement: Element | null
mozFullScreenElement: Element | null
msFullscreenElement: Element | null
webkitCurrentFullScreenElement: Element | null
mozCancelFullScreen(): Promise<void>
webkitExitFullscreen(): Promise<void>
msExitFullscreen(): Promise<void>
}