accordion

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Accordion added in v0.0.3

type Accordion struct {
	ID               string
	AriaLabel        string
	AsDefinitionList bool
	DisplaySize      string
	HeadingLevel     string
	Bordered         bool
	MultipleExpand   bool
	Fixed            bool
	Items            []*Item
}

func Demo added in v0.0.3

func Demo() *Accordion

func (*Accordion) UI added in v0.0.3

func (a *Accordion) UI() app.UI

type Bordered

type Bordered struct {
	app.Compo
}

func (*Bordered) Render

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

type Content added in v0.0.3

type Content struct {
	ID       string
	Children []app.UI
}

type DefinitionList

type DefinitionList struct {
	app.Compo
}

func (*DefinitionList) Render

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

type Fixed

type Fixed struct {
	app.Compo
}

func (*Fixed) Render

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

type Fluid

type Fluid struct {
	app.Compo
}

func (*Fluid) Render

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

type Item added in v0.0.3

type Item struct {
	Toggle  Toggle
	Content Content
}

type LargeBordered

type LargeBordered struct {
	app.Compo
}

func (*LargeBordered) Render

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

type Toggle added in v0.0.3

type Toggle struct {
	ID       string
	Expanded bool
	Children []app.UI
}

Jump to

Keyboard shortcuts

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