mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 08:51:20 -08:00
build all packages
This commit is contained in:
1 parent
48436c008d
commit
87d068dd68
18 files changed
+95
-14
No files matched your search
@@ -163,10 +163,12 @@ export default class Controls {
|
||||
show() {
|
||||
const { $player } = this.art.template;
|
||||
$player.classList.add('artplayer-controls-show');
|
||||
this.art.emit('controls:show');
|
||||
}
|
||||
|
||||
hide() {
|
||||
const { $player } = this.art.template;
|
||||
$player.classList.remove('artplayer-controls-show');
|
||||
this.art.emit('controls:hide');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user