Methods
(static) getThemeFunc(themeId) → {func}
gets a theme by id
Parameters:
| Name | Type | Description |
|---|---|---|
themeId |
string | theme identifier |
Returns:
theme function registered by registerTheme
- Type
- func
(static) registerTheme(themeId, themeFunc)
registers a theme for reuse across documents
Parameters:
| Name | Type | Description |
|---|---|---|
themeId |
string | theme identifier |
themeFunc |
func | function which gets a `slide` object and creates a theme for it |