mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
16 lines
536 B
TypeScript
16 lines
536 B
TypeScript
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>
|
|
} |