Documentation ¶
Index ¶
- Constants
- func Alert(elems ...app.UI) app.HTMLDiv
- func App(elems ...app.UI) app.HTMLDiv
- func Article(title string, meta string, body ...app.UI) app.HTMLArticle
- func Badge(number int) app.HTMLSpan
- func Button(text string) app.HTMLButton
- func ButtonGroup(elems ...app.UI) app.HTMLDiv
- func Card(title string, body ...app.UI) app.HTMLDiv
- func Checkbox() app.HTMLInput
- func ChildWidthClass(i, j int) string
- func ColumnClass(i, j int) string
- func Container(elems ...app.UI) app.HTMLDiv
- func Countdown(datetime time.Time) app.HTMLDiv
- func Css(css string) app.HTMLStyle
- func Div(elems ...app.UI) app.HTMLDiv
- func DividerIcon() app.HTMLHr
- func DividerSmall() app.HTMLHr
- func DividerVertical() app.HTMLHr
- func Fieldset(elems ...app.UI) app.HTMLFieldSet
- func Flex(elems ...app.UI) app.HTMLDiv
- func Form(elems ...app.UI) app.HTMLForm
- func FormControls(elems ...app.UI) app.HTMLDiv
- func FormCustom(elems ...app.UI) app.HTMLDiv
- func FormLabel(text string, forId string) app.HTMLLabel
- func Grid(elems ...app.UI) app.HTMLDiv
- func H1(v interface{}) app.HTMLH1
- func H2(v interface{}) app.HTMLH2
- func H3(v interface{}) app.HTMLH3
- func Icon(name string) app.HTMLSpan
- func Image(src string) app.HTMLDiv
- func Input() app.HTMLInput
- func InputHidden(key, value string) app.HTMLInput
- func Js(js string) app.HTMLScript
- func Label(text string) app.HTMLSpan
- func Link(title, url string) app.HTMLA
- func List(elems ...app.UI) app.HTMLUl
- func Margin(elems ...app.UI) app.HTMLDiv
- func Modal(id string, title string, body ...app.UI) app.HTMLDiv
- func ModalToggle(id, title string) app.HTMLButton
- func Option(text string) app.HTMLOption
- func Padding(elems ...app.UI) app.HTMLDiv
- func Placeholder(text string) app.HTMLDiv
- func Pre(v interface{}) app.HTMLPre
- func Progress(value, maxValue int) app.HTMLProgress
- func Radio() app.HTMLInput
- func Range() app.HTMLInput
- func Script(url string) app.HTMLScript
- func Select(elems ...app.UI) app.HTMLSelect
- func Style(url string) app.HTMLLink
- func TBody(elems ...app.UI) app.HTMLTBody
- func TFoot(elems ...app.UI) app.HTMLTFoot
- func THead(elems ...app.UI) app.HTMLTHead
- func Table(elems ...app.UI) app.HTMLTable
- func Td(elems ...app.UI) app.HTMLTd
- func Text(v interface{}) app.HTMLDiv
- func Textarea(elems ...app.UI) app.HTMLTextarea
- func Th(elems ...app.UI) app.HTMLTh
- func Tr(elems ...app.UI) app.HTMLTr
- func WidthClass(i, j int) string
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 Button ¶
func Button(text string) app.HTMLButton
func ChildWidthClass ¶
func ColumnClass ¶
func DividerIcon ¶
func DividerSmall ¶
func DividerVertical ¶
func InputHidden ¶
func Js ¶
func Js(js string) app.HTMLScript
func ModalToggle ¶
func ModalToggle(id, title string) app.HTMLButton
func Option ¶
func Option(text string) app.HTMLOption
func Placeholder ¶
func Progress ¶
func Progress(value, maxValue int) app.HTMLProgress
func Script ¶
func Script(url string) app.HTMLScript
func WidthClass ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.