uikit

package
v0.18.5 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AlertCloseClass   = "uk-alert-close"
	AlertPrimaryClass = "uk-alert-primary"
	AlertSuccessClass = "uk-alert-success"
	AlertWarningClass = "uk-alert-warning"
	AlertDangerClass  = "uk-alert-danger"
)
View Source
const (
	AlignLeftClass   = "uk-align-left"
	AlignRightClass  = "uk-align-right"
	AlignCenterClass = "uk-align-center"
)
View Source
const (
	BackgroundDefaultClass   = "uk-background-default"
	BackgroundMutedClass     = "uk-background-muted"
	BackgroundPrimaryClass   = "uk-background-primary"
	BackgroundSecondaryClass = "uk-background-secondary"
)
View Source
const (
	ButtonDefaultClass   = "uk-button-default"
	ButtonPrimaryClass   = "uk-button-primary"
	ButtonSecondaryClass = "uk-button-secondary"
	ButtonDangerClass    = "uk-button-danger"
	ButtonTextClass      = "uk-button-text"
	ButtonLinkClass      = "uk-button-link"

	ButtonSmallClass = "uk-button-small"
	ButtonLargeClass = "uk-button-large"
)
View Source
const (
	FlexClass       = "uk-flex"
	FlexInlineClass = "uk-flex-inline"

	FlexLeftClass    = "uk-flex-left"
	FlexCenterClass  = "uk-flex-center"
	FlexRightClass   = "uk-flex-right"
	FlexBetweenClass = "uk-flex-between"
	FlexAroundClass  = "uk-flex-around"

	FlexRowClass           = "uk-flex-row"
	FlexRowReverseClass    = "uk-flex-row-reverse"
	FlexColumnClass        = "uk-flex-column"
	FlexColumnReverseClass = "uk-flex-column-reverse"

	FlexWrapClass        = "uk-flex-wrap"
	FlexWrapReverseClass = "uk-flex-wrap-reverse"
	FlexNowrapClass      = "uk-flex-nowrap"
)
View Source
const (
	FormStackedClass    = "uk-form-stacked"
	FormHorizontalClass = "uk-form-horizontal"
)
View Source
const (
	HeadingSmallClass   = "uk-heading-small"
	HeadingMediumClass  = "uk-heading-medium"
	HeadingLargeClass   = "uk-heading-large"
	HeadingXLargeClass  = "uk-heading-xlarge"
	Heading2XLargeClass = "uk-heading-2xlarge"
)
View Source
const (
	LabelSuccessClass = "uk-label-success"
	LabelWarningClass = "uk-label-warning"
	LabelDangerClass  = "uk-label-danger"
)
View Source
const (
	ListDiscClass    = "uk-list-disc"
	ListCircleClass  = "uk-list-circle"
	ListSquareClass  = "uk-list-square"
	ListDecimalClass = "uk-list-decimal"
	ListHyphenClass  = "uk-list-hyphen"
)
View Source
const (
	MarginClass       = "uk-margin"
	MarginTopClass    = "uk-margin-top"
	MarginBottomClass = "uk-margin-bottom"
	MarginLeftClass   = "uk-margin-left"
	MarginRightClass  = "uk-margin-right"
)
View Source
const (
	PaddingClass      = "uk-padding"
	PaddingSmallClass = "uk-padding-small"
	PaddingLargeClass = "uk-padding-large"
)
View Source
const (
	TableDividerClass    = "uk-table-divider"
	TableStripedClass    = "uk-table-striped"
	TableHoverClass      = "uk-table-hover"
	TableSmallClass      = "uk-table-small"
	TableLargeClass      = "uk-table-large"
	TableJustifyClass    = "uk-table-justify"
	TableMiddleClass     = "uk-table-middle"
	TableResponsiveClass = "uk-table-responsive"
)
View Source
const (
	TextLeadClass = "uk-text-lead"
	TextMetaClass = "uk-text-meta"

	TextSmallClass   = "uk-text-small"
	TextDefaultClass = "uk-text-default"
	TextLargeClass   = "uk-text-large"

	TextLightClass   = "uk-text-light"
	TextNormalClass  = "uk-text-normal"
	TextBoldClass    = "uk-text-bold"
	TextLighterClass = "uk-text-lighter"
	TextBolderClass  = "uk-text-bolder"

	TextItalicClass = "uk-text-italic"

	TextCapitalizeClass = "uk-text-capitalize"
	TextUppercaseClass  = "uk-text-uppercase"
	TextLowercaseClass  = "uk-text-lowercase"

	TextDecorationNoneClass = "uk-text-decoration-none"

	TextMutedClass     = "uk-text-muted"
	TextEmphasisClass  = "uk-text-emphasis"
	TextPrimaryClass   = "uk-text-primary"
	TextSecondaryClass = "uk-text-secondary"
	TextSuccessClass   = "uk-text-success"
	TextWarningClass   = "uk-text-warning"
	TextDangerClass    = "uk-text-danger"

	TextLeftClass    = "uk-text-left"
	TextRightClass   = "uk-text-right"
	TextCenterClass  = "uk-text-center"
	TextJustifyClass = "uk-text-justify"

	TextTopClass      = "uk-text-top"
	TextMiddleClass   = "uk-text-middle"
	TextBottomClass   = "uk-text-bottom"
	TextBaselineClass = "uk-text-baseline"

	TextTruncateClass = "uk-text-truncate"
	TextBreakClass    = "uk-text-break"
	TextNowrapClass   = "uk-text-nowrap"
)
View Source
const (
	HiddenClass             = "uk-hidden"
	InvisibleClass          = "uk-invisible"
	PanelClass              = "uk-panel"
	FloatLeftClass          = "uk-float-left"
	FloatRightClass         = "uk-float-right"
	ClearfixClass           = "uk-clearfix"
	OverflowHiddenClass     = "uk-overflow-hidden"
	OverflowAutoClass       = "uk-overflow-auto"
	ResizeClass             = "uk-resize"
	ResizeVerticalClass     = "uk-resize-vertical"
	DisplayBlockClass       = "uk-display-block"
	DisplayInlineClass      = "uk-display-inline"
	DisplayInlineBlockClass = "uk-display-inline-block"
	InlineClass             = "uk-inline"
	BorderRoundedClass      = "uk-border-rounded"
	BorderCircleClass       = "uk-border-circle"
	BorderPillClass         = "uk-border-pill"
	BoxShadowSmallClass     = "uk-box-shadow-small"
	BoxShadowMediumClass    = "uk-box-shadow-medium"
	BoxShadowLargeClass     = "uk-box-shadow-large"
	BoxShadowXLargeClass    = "uk-box-shadow-xlarge"
	DisabledClass           = "uk-disabled"
)
View Source
const (
	WidthAutoClass   = "uk-width-auto"
	WidthExpandClass = "uk-width-expand"
)
View Source
const (
	ChildWidthAutoClass   = "uk-child-width-auto"
	ChildWidthExpandClass = "uk-child-width-expand"
)
View Source
const (
	ModalCloseClass = "uk-modal-close"
)

Variables

This section is empty.

Functions

func Alert

func Alert(elems ...app.UI) app.HTMLDiv

func App

func App(elems ...app.UI) app.HTMLDiv

func Article

func Article(title string, meta string, body ...app.UI) app.HTMLArticle

func Badge

func Badge(number int) app.HTMLSpan

func Button

func Button(text string) app.HTMLButton

func ButtonGroup

func ButtonGroup(elems ...app.UI) app.HTMLDiv

func Card

func Card(title string, body ...app.UI) app.HTMLDiv

func Checkbox

func Checkbox() app.HTMLInput

func ChildWidthClass

func ChildWidthClass(i, j int) string

func ColumnClass

func ColumnClass(i, j int) string

func Container

func Container(elems ...app.UI) app.HTMLDiv

func Countdown

func Countdown(datetime time.Time) app.HTMLDiv

func Css

func Css(css string) app.HTMLStyle

func Div

func Div(elems ...app.UI) app.HTMLDiv

func DividerIcon

func DividerIcon() app.HTMLHr

func DividerSmall

func DividerSmall() app.HTMLHr

func DividerVertical

func DividerVertical() app.HTMLHr

func Fieldset

func Fieldset(elems ...app.UI) app.HTMLFieldSet

func Flex

func Flex(elems ...app.UI) app.HTMLDiv

func Form

func Form(elems ...app.UI) app.HTMLForm

func FormControls

func FormControls(elems ...app.UI) app.HTMLDiv

func FormCustom

func FormCustom(elems ...app.UI) app.HTMLDiv

func FormLabel

func FormLabel(text string, forId string) app.HTMLLabel

func Grid

func Grid(elems ...app.UI) app.HTMLDiv

func H1

func H1(v interface{}) app.HTMLH1

func H2

func H2(v interface{}) app.HTMLH2

func H3

func H3(v interface{}) app.HTMLH3

func Icon

func Icon(name string) app.HTMLSpan

func Image

func Image(src string) app.HTMLDiv

func Input

func Input() app.HTMLInput

func InputHidden

func InputHidden(key, value string) app.HTMLInput

func Js

func Js(js string) app.HTMLScript

func Label

func Label(text string) app.HTMLSpan
func Link(title, url string) app.HTMLA

func List

func List(elems ...app.UI) app.HTMLUl

func Margin

func Margin(elems ...app.UI) app.HTMLDiv
func Modal(id string, title string, body ...app.UI) app.HTMLDiv

func ModalToggle

func ModalToggle(id, title string) app.HTMLButton

func Option

func Option(text string) app.HTMLOption

func Padding

func Padding(elems ...app.UI) app.HTMLDiv

func Placeholder

func Placeholder(text string) app.HTMLDiv

func Pre

func Pre(v interface{}) app.HTMLPre

func Progress

func Progress(value, maxValue int) app.HTMLProgress

func Radio

func Radio() app.HTMLInput

func Range

func Range() app.HTMLInput

func Script

func Script(url string) app.HTMLScript

func Select

func Select(elems ...app.UI) app.HTMLSelect

func Style

func Style(url string) app.HTMLLink

func TBody

func TBody(elems ...app.UI) app.HTMLTBody

func TFoot

func TFoot(elems ...app.UI) app.HTMLTFoot

func THead

func THead(elems ...app.UI) app.HTMLTHead

func Table

func Table(elems ...app.UI) app.HTMLTable

func Td

func Td(elems ...app.UI) app.HTMLTd

func Text

func Text(v interface{}) app.HTMLDiv

func Textarea

func Textarea(elems ...app.UI) app.HTMLTextarea

func Th

func Th(elems ...app.UI) app.HTMLTh

func Tr

func Tr(elems ...app.UI) app.HTMLTr

func WidthClass

func WidthClass(i, j int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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