TwThemes.activateNextTheme(): activeThemeName

TwThemes.activateNextTheme() advances the current theme to the next one "in line" (wrapping at the end). 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.activateNextTheme(): activeThemeName

Parameters: NONE

Return: activeThemeName - the newly activated themeName

results matching ""

    No results matching ""