TwThemes.activatePriorTheme(): activeThemeName
TwThemes.activatePriorTheme()
advances the current theme to the
prior one "in line" (wrapping at the start). These heuristics are
defined by the tw-themes object, with the same "theme order" as
defined in it's Themes
reference.
You can easily wrap this utility into a sophisticated UI control and/or choose to build your own.
API:
+ TwThemes.activatePriorTheme(): activeThemeName
Parameters: NONE
Return: activeThemeName - the newly activated themeName