chore: 将全屏按钮置于顶部,使其显眼且易于操作 (#969)

* chore: 将全屏按钮置于顶部,使其显眼且易于操作
This commit is contained in:
xiaoming
2024-03-12 14:36:45 +08:00
committed by GitHub
parent 593fc1bb26
commit d1f0a3fd36
10 changed files with 90 additions and 50 deletions

9
types/global.d.ts vendored
View File

@@ -38,6 +38,15 @@ declare global {
msRequestAnimationFrame: (callback: FrameRequestCallback) => number;
}
/**
* Document 的类型提示
*/
interface Document {
webkitFullscreenElement?: Element;
mozFullScreenElement?: Element;
msFullscreenElement?: Element;
}
/**
* 打包压缩格式的类型声明
*/