pfswitch

package
v0.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Demo added in v0.0.7

func Demo() app.UI

Types

type Basic

type Basic struct {
	app.Compo
}

func (*Basic) Render

func (c *Basic) Render() app.UI

type Disabled

type Disabled struct {
	app.Compo
}

func (*Disabled) Render

func (c *Disabled) Render() app.UI

type LabelAndCheck

type LabelAndCheck struct {
	app.Compo
}

func (*LabelAndCheck) Render

func (c *LabelAndCheck) Render() app.UI

type PfSwitch added in v0.0.7

type PfSwitch struct {
	ID        string
	AriaLabel string
	ClassName []string
	CheckIcon bool
	LabelId   string
	Checked   bool
	Disabled  bool
	Reversed  bool
	Label     app.UI
	LabelOff  app.UI
	OnChange  app.EventHandler
}

func (*PfSwitch) UI added in v0.0.7

func (p *PfSwitch) UI() app.UI

func (*PfSwitch) UpdateState added in v0.0.7

func (p *PfSwitch) UpdateState(ctx app.Context)

type ReverseToggleOnRight

type ReverseToggleOnRight struct {
	app.Compo
}

func (*ReverseToggleOnRight) Render

func (c *ReverseToggleOnRight) Render() app.UI

type WithoutLabel

type WithoutLabel struct {
	app.Compo
}

func (*WithoutLabel) Render

func (c *WithoutLabel) Render() app.UI

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL