mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 17:47:16 +00:00
Trigger js_update on self
This commit is contained in:
parent
eb815d2ed1
commit
5f2f12cdd4
2 changed files with 4 additions and 4 deletions
|
|
@ -21,12 +21,12 @@ class Container extends MakiObject {
|
|||
|
||||
show(): void {
|
||||
this.visible = true;
|
||||
this.parent.js_trigger("js_update");
|
||||
this.js_trigger("js_update");
|
||||
}
|
||||
|
||||
hide(): void {
|
||||
this.visible = false;
|
||||
this.parent.js_trigger("js_update");
|
||||
this.js_trigger("js_update");
|
||||
}
|
||||
|
||||
setxmlparam(param: string, value: string): void {
|
||||
|
|
|
|||
|
|
@ -113,12 +113,12 @@ class GuiObject extends MakiObject {
|
|||
|
||||
show(): void {
|
||||
this.visible = true;
|
||||
this.parent.js_trigger("js_update");
|
||||
this.js_trigger("js_update");
|
||||
}
|
||||
|
||||
hide(): void {
|
||||
this.visible = false;
|
||||
this.parent.js_trigger("js_update");
|
||||
this.js_trigger("js_update");
|
||||
}
|
||||
|
||||
gettop(): number {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue