mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 12:11:20 -08:00
refactor(core): CORE-16 type display modes and own fullscreen lifetimes
This commit is contained in:
1 parent
1b83081e8f
commit
88aef830df
81 files changed
+33897
-1503
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import type { MiniHost } from '../../packages/artplayer/src/display/types'
|
||||
import miniMix from '../../packages/artplayer/src/player/miniMix'
|
||||
|
||||
declare const host: MiniHost
|
||||
miniMix(host)
|
||||
const active: boolean = host.mini
|
||||
host.mini = true
|
||||
host.mini = false
|
||||
// @ts-expect-error Mini retains boolean setters.
|
||||
host.mini = 'true'
|
||||
// @ts-expect-error Mini storage persists numeric coordinates.
|
||||
host.storage.set('left', '25px')
|
||||
export { active }
|
||||
Reference in new issue
Block a user