You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
459 B
26 lines
459 B
import { shortcut, Widget } from "@/core"; |
|
|
|
@shortcut() |
|
export class JokerIcon extends Widget { |
|
static xtype = "demo.joker.icon"; |
|
|
|
render() { |
|
const self = this; |
|
|
|
return { |
|
type: "bi.label", |
|
cls: "anim-rotate", |
|
ref (ref) { |
|
self.text = ref; |
|
}, |
|
}; |
|
} |
|
|
|
loading() { |
|
this.text.setText("🤡"); |
|
} |
|
|
|
loaded() { |
|
this.text.setText(""); |
|
} |
|
}
|
|
|