Global

Members

# (constant) DEFAULT_THEME :string

default theme

Type:
  • string

# (constant) Monster :Namespace

Type:
  • Namespace

Methods

# getDocumentTheme() → {Theme}

The theming used in the document can be defined via the html-tag. The theming is specified via the attribute data-monster-theme-name.

As name for a theme all characters are valid, which are also allowed for a HTMLElement-ID.

<html data-monster-theme-name="my-theme">

the default theme name is monster.

Since:
  • 1.7.0
Returns:
Type
Theme