Documentation
¶
Index ¶
Constants ¶
View Source
const (
DarkModeCookieKey = "X-Dark-Mode"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DarkModeSwtitcher ¶
type DarkModeSwtitcher struct { hiro.Component Menu bool `json:"-"` // contains filtered or unexported fields }
func (*DarkModeSwtitcher) HandleSwitch ¶
func (c *DarkModeSwtitcher) HandleSwitch() error
func (*DarkModeSwtitcher) Mount ¶
func (c *DarkModeSwtitcher) Mount()
func (*DarkModeSwtitcher) Name ¶
func (c *DarkModeSwtitcher) Name() string
func (*DarkModeSwtitcher) Node ¶
func (c *DarkModeSwtitcher) Node() Node
Click to show internal directories.
Click to hide internal directories.