components

package
v0.0.0-...-5380fed Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FE11sModal

type FE11sModal struct {
	app.Compo

	OnSubmit func(
		idVendor uint16,
		idProduct uint16,
		bcdDevice uint16,
		numberOfDownstreamPorts uint8,
	)
	OnCancel func()
	// contains filtered or unexported fields
}

func (*FE11sModal) OnMount

func (c *FE11sModal) OnMount(ctx app.Context)

func (*FE11sModal) Render

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

type FE21Modal

type FE21Modal struct {
	app.Compo

	OnSubmit func(
		idVendor uint16,
		idProduct uint16,
		bcdDevice uint16,
		numberOfDownstreamPorts uint8,

		serial string,
		portsWithRemovableDevices [fe21.MaxNumberOfDownstreamPorts]bool,
		portIndicatorSupport bool,
		compoundDevice bool,
		maximumCurrent500mA bool,
	)
	OnCancel func()
	// contains filtered or unexported fields
}

func (*FE21Modal) OnMount

func (c *FE21Modal) OnMount(ctx app.Context)

func (*FE21Modal) Render

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

type Home

type Home struct {
	app.Compo
	// contains filtered or unexported fields
}

func (*Home) OnAppUpdate

func (c *Home) OnAppUpdate(ctx app.Context)

func (*Home) Render

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

type ICCard

type ICCard struct {
	app.Compo

	Open   func()
	ICName string
	ICImg  string
}

func (*ICCard) Render

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

type ICGrid

type ICGrid struct {
	app.Compo

	Children []app.UI
}

func (*ICGrid) Render

func (c *ICGrid) Render() app.UI
type Navbar struct {
	app.Compo
}

Navbar is the primary navigation menu

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

type ProposeICCard

type ProposeICCard struct {
	app.Compo

	Link string
}

func (*ProposeICCard) Render

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

type Toggle

type Toggle struct {
	ID    int
	Title string
	On    bool
}

type ToggleGroup

type ToggleGroup struct {
	app.Compo

	ID       string
	Toggles  []Toggle
	OnToggle func(int)
}

func (*ToggleGroup) Render

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

Jump to

Keyboard shortcuts

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