mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-29 02:51:20 -08:00
add more event
This commit is contained in:
1 parent
b2159e7d4d
commit
506b34522b
14 files changed
+202
-77
No files matched your search
@@ -14,10 +14,12 @@ export default class Notice {
|
||||
this.hide();
|
||||
}, 1000);
|
||||
}
|
||||
this.art.emit('notice:show', $notice);
|
||||
}
|
||||
|
||||
hide() {
|
||||
const { refs: { $notice } } = this.art;
|
||||
$notice.style.display = 'none';
|
||||
this.art.emit('notice:hide', $notice);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user