PPTist/src/global.d.ts
2020-12-25 00:29:04 +08:00

13 lines
358 B
TypeScript

interface HTMLElement {
webkitRequestFullScreen(options?: FullscreenOptions): Promise<void>;
mozRequestFullScreen(options?: FullscreenOptions): Promise<void>;
}
interface Document {
mozFullScreen: boolean;
webkitIsFullScreen: boolean;
webkitFullScreen: boolean;
mozCancelFullScreen(): Promise<void>;
webkitCancelFullScreen(): Promise<void>;
}