The button beside an isolated demo that switches the theme of its iframe in turn: the page's theme, Light and Dark. A theme option that is none of them, such as auto or the id of a custom theme, is offered after the page's theme.
- Decorators
@Component - Selectors
ng-doc-demo-theme-button
DeclarationTypeScript
@Component ({ … })
export class NgDocDemoThemeButtonComponent { … }Members
Properties4 | |||||||
configured: | The | ||||||
next: | The theme the next press switches to. | ||||||
texts: | — | ||||||
theme: | The theme of the iframe, or | ||||||
Methods1 | |||||||
(…): string | The name of a theme in the texts. | ||||||
Signature Parameters
Returns string | |||||||
No members match.