components

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MySelectBuilder

type MySelectBuilder struct {
	// contains filtered or unexported fields
}

func MySelect

func MySelect() *MySelectBuilder

func (*MySelectBuilder) HTML

func (b *MySelectBuilder) HTML(minified bool) string

HTML returns the HTML version of the component

func (*MySelectBuilder) Options

func (b *MySelectBuilder) Options(opts []Option) (r *MySelectBuilder)

func (*MySelectBuilder) Selected

func (b *MySelectBuilder) Selected(selected string) (r *MySelectBuilder)

type Option

type Option struct {
	Value string
	Text  string
}
type PageHeader struct {
	Title    string
	Subtitle string
	IconURL  string
}

func (*PageHeader) HTML

func (pageHeader *PageHeader) HTML(minified bool) string

HTML returns the HTML version of the component

type UserProfile

type UserProfile struct {
	Username  string
	AvatarURL string
}

func (*UserProfile) HTML

func (userProfile *UserProfile) HTML(minified bool) string

HTML returns the HTML version of the component

Jump to

Keyboard shortcuts

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