mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -08:00
23 lines
490 B
TypeScript
23 lines
490 B
TypeScript
interface Option {
|
|
width?: number
|
|
height?: number
|
|
placeholder?: string
|
|
fallbackToVideoPiP?: boolean
|
|
}
|
|
|
|
interface Result {
|
|
name: 'artplayerPluginDocumentPip'
|
|
isSupported: boolean
|
|
isActive: boolean
|
|
open: () => void
|
|
close: () => void
|
|
toggle: () => void
|
|
}
|
|
|
|
declare const artplayerPluginDocumentPip: (option: Option) => (art: Artplayer) => Result
|
|
|
|
export default artplayerPluginDocumentPip
|
|
|
|
export = artplayerPluginDocumentPip
|
|
export as namespace artplayerPluginDocumentPip;
|