Skip to content

Home > @jview/utils > EnhancedDocument

EnhancedDocument interface

增强 Document,加上一些全屏类方法

Signature:

typescript
export interface EnhancedDocument extends Document
export interface EnhancedDocument extends Document

Extends: Document

Properties

PropertyModifiersTypeDescription
mozCancelFullScreen?() => Promise<void>(Optional)
mozFullScreenElement?Element(Optional)
mozFullScreenEnabled?boolean(Optional)
msExitFullscreen?() => Promise<void>(Optional)
msFullscreenElement?Element(Optional)
msFullScreenEnabled?boolean(Optional)
webkitCancelFullScreen?() => Promise<void>(Optional)
webkitExitFullscreen?() => Promise<void>(Optional)
webkitFullscreenElement?Element(Optional)
webkitFullScreenEnabled?boolean(Optional)