Documentation
¶
Index ¶
- func AppBody() *ui.Element
- func Button(text string) *ui.Element
- func ButtonDanger(text string) *ui.Element
- func ButtonIcon(text string, iconSource string) *ui.Element
- func Code(lang string, code string) *ui.Element
- func Dropdown(options []string) *ui.Element
- func Fieldset(legend string, content *ui.Element) *ui.Element
- func FooterSimple(content string) *ui.Element
- func Form() *ui.Element
- func Group(content ...*ui.Element) *ui.Element
- func GroupClass(class string, content ...*ui.Element) *ui.Element
- func Header1(text string) *ui.Element
- func Header2(text string) *ui.Element
- func Header3(text string) *ui.Element
- func HeaderBar(logo *ui.Element, links []KeyValue) *ui.Element
- func HorizontalRule() *ui.Element
- func Input(placeholder string) *ui.Element
- func Link(text string, url string) *ui.Element
- func List(items ...*ui.Element) *ui.Element
- func Panel(content ...*ui.Element) *ui.Element
- func Paragraph(text string) *ui.Element
- func Placeholder(path string) *ui.Element
- func Spinner(text string) *ui.Element
- func Text(text string) *ui.Element
- func TitleLogo(text string, logoSrc string) *ui.Element
- func VerticalRule() *ui.Element
- type KeyValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ButtonDanger ¶
func Code ¶
Code creates a code block with syntax highlighting. This depends on the Prism.js library.
func FooterSimple ¶
FooterSimple creates a footer with text content.
func GroupClass ¶
GroupClass creates a div element with the given class and content.
func HorizontalRule ¶
func Placeholder ¶
func VerticalRule ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.