Closed cuh7b5 closed 1 week ago
Is there a way to hide/unhide widgets from within the widget script? Like in the built-in Player widget, when media is not playing the widget is hidden.
Thanks!
Yes. There are undocumented API for it:
ui:hide_widget()
ui:show_widget()
Is there a way to hide/unhide widgets from within the widget script? Like in the built-in Player widget, when media is not playing the widget is hidden.
Thanks!