App.ChangeTheme

Methods

(static) changeThemeAction(theme, element)

Change theme action

Parameters:
Name Type Description
theme object

object containing keys for new theme name and dark mode flag.

element HTMLElement

HTMLElement on which click action taken.

(static) render()

Renders change themes menu

Parameters:
Name Type Description
menu. DynamicMenu