Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ThemeToggle ¶
type ThemeToggle struct {
Element
// contains filtered or unexported fields
}
ThemeToggle es un botón flotante que cicla entre los 3 modos de tema. Restaura automáticamente el tema guardado en localStorage al montarse.
ts := &themetoggle.ThemeToggle{}
Append("body", ts)
func (*ThemeToggle) Init ¶ added in v0.1.7
func (t *ThemeToggle) Init(_ Ctx)
func (*ThemeToggle) Render ¶
func (t *ThemeToggle) Render() *Element
func (*ThemeToggle) RenderCSS ¶
func (t *ThemeToggle) RenderCSS() *Stylesheet
Click to show internal directories.
Click to hide internal directories.