ugsEditorPlus.themes Class
Changes the song's color scheme ("theme") by changing both the applied body class and the UkeGeek settings used to draw the diagrams.
Methods
getDescription
(
String
-
themeName
Returns text to be deisplayed when the specified theme is selected.
Parameters:
-
themeName
String
Returns:
String:
loadList
(
-
selector
-
selectedValue
Populates the UL (identified via CSS/jQuery selector) with the color scheme List Items (LIs)
Parameters:
-
selector
String -
selectedValue
Stringvalue that should be "checked"
set
(
-
themeName
Sets body class and UkeGeeks settings to specified theme.
Parameters:
-
themeName
String
Properties
_colorSchemes
JSON-Object
available color schemes (see UkeGeeks.settings)
_public
JsonObject
attach public members to this object