mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 12:11:20 -08:00
重命名事件
This commit is contained in:
1 parent
a0e13479d3
commit
02915fcee5
10 files changed
+61
-61
No files matched your search
@@ -21,7 +21,7 @@ export default class Component {
|
||||
} else {
|
||||
removeClass($player, className);
|
||||
}
|
||||
this.art.emit(`${this.name}:toggle`, value);
|
||||
this.art.emit(`${this.name}Toggle`, value);
|
||||
}
|
||||
|
||||
set toggle(value) {
|
||||
@@ -75,7 +75,7 @@ export default class Component {
|
||||
callback($ref, this, this.art);
|
||||
}
|
||||
|
||||
this.art.emit(`${this.name}:add`, option);
|
||||
this.art.emit(`${this.name}Add`, option);
|
||||
|
||||
def(this, name, {
|
||||
get: () => option,
|
||||
|
||||
Reference in new issue
Block a user