Support => Developers' Area => TheaterMode => Topic started by: tumuyan on October 11, 2020, 05:28:04 AM

Title: What actions does "onClick" support?
Post by: tumuyan on October 11, 2020, 05:28:04 AM
I wanna add a button to open the EditTag panel, but I don't know how to write.(I have tried OpenEditTag, OpenEditTags, EditTag, EditTags, etc. but no work)

The readme file only shows this

  - an element or a child element can contain a "onClick" or "onDoubleClick" attribute and on clicking/ double clicking the element, an action is performed. Supported values:  OpenNowPlayingAssistant, OpenAutoHidePanel  eg. onDoubleClick="OpenNowPlayingAssistant"

according to others TheaterMode config file, these actions are supported:

- PlayPrevious
- PlayPause
- PlayNext
- RepeatToggle
- ShuffleToggle
- VolumeToggleMute
- OpenNowPlayingAssistant
- OpenAutoHidePanel:#PanelNowPlayingList
- OpenAutoHidePanel:#RightSidebarArtist
- OpenFloatingPanel:#CoverResize
- PlayNow
- PlayPreviousAlbum
- PlayNextAlbum
- CloseWindow