MCPcopy
hub / github.com/wellsjo/JSON-Splora / themeClicked

Method themeClicked

app/js/system/MainMenu.js:32–35  ·  view source on GitHub ↗

* Callback for when theme button is clicked.

(menuItem)

Source from the content-addressed store, hash-verified

30 */
31
32 themeClicked(menuItem) {
33 this.settings.set('theme', menuItem.theme)
34 this.app.setTheme(menuItem.theme)
35 }
36
37 createTemplate() {
38 const template = [{

Callers 1

createThemeSubMenuMethod · 0.95

Calls 2

setMethod · 0.45
setThemeMethod · 0.45

Tested by

no test coverage detected