Documentation ¶
Rendered for js/wasm
Index ¶
- type Align
- func (i Align) ApplyHorizontal(obj ObjRef) (ret bool)
- func (i Align) ApplyVertical(obj ObjRef) (ret bool)
- func (i Align) Horizontal() string
- func (i Align) IsHorizontal() bool
- func (i Align) IsVertical() bool
- func (i Align) String() string
- func (i Align) UnapplyHorizontal(obj ObjRef) (ret bool)
- func (i Align) UnapplyVertical(obj ObjRef) (ret bool)
- func (i Align) Vertical() string
- type BorderType
- type ButtonType
- type Color
- func (i Color) Apply(obj ObjRef, s ...string)
- func (i Color) ApplyAlert(obj ObjRef) (ret bool)
- func (i Color) ApplyBackground(obj ObjRef) (ret bool)
- func (i Color) ApplyBorder(obj ObjRef) (ret bool)
- func (i Color) ApplyButton(obj ObjRef) (ret bool)
- func (i Color) ApplyOutlineButton(obj ObjRef) (ret bool)
- func (i Color) ApplyText(obj ObjRef) (ret bool)
- func (i Color) IsBGColor() bool
- func (i Color) IsTextColor() bool
- func (i Color) IsTheme() bool
- func (i *Color) SetString(s string)
- func (i Color) String() string
- func (i Color) Style(s ...string) string
- func (i Color) Unapply(obj ObjRef, s ...string)
- func (i Color) UnapplyAlert(obj ObjRef) (ret bool)
- func (i Color) UnapplyBackground(obj ObjRef) (ret bool)
- func (i Color) UnapplyBorder(obj ObjRef) (ret bool)
- func (i Color) UnapplyButton(obj ObjRef) (ret bool)
- func (i Color) UnapplyOutlineButton(obj ObjRef) (ret bool)
- func (i Color) UnapplyText(obj ObjRef) (ret bool)
- type Decoration
- type FlexMode
- type FontWeight
- type ItemsPerRow
- type ObjRef
- type Pos
- type RoundedType
- type Size
- func (i Size) ApplyBorder(obj ObjRef) (ret bool)
- func (i Size) ApplyFont(obj ObjRef) (ret bool)
- func (i Size) Col() string
- func (i Size) Gutter(pos Pos) string
- func (i *Size) SetString(s string)
- func (i Size) String() string
- func (i Size) Style(s string) string
- func (i Size) UnapplyBorder(obj ObjRef) (ret bool)
- func (i Size) UnapplyFont(obj ObjRef) (ret bool)
- type SpinnerType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Align ¶
type Align int
func (Align) ApplyHorizontal ¶
func (Align) ApplyVertical ¶
func (Align) Horizontal ¶
func (Align) IsHorizontal ¶
func (Align) IsVertical ¶
func (Align) UnapplyHorizontal ¶
func (Align) UnapplyVertical ¶
type BorderType ¶
type BorderType int
const ( BorderNone BorderType = iota Border BorderTop BorderEnd BorderBottom BorderStart Border0 BorderTop0 BorderEnd0 BorderBottom0 BorderStart0 )
func (BorderType) Apply ¶
func (i BorderType) Apply(obj ObjRef) (ret bool)
func (BorderType) String ¶
func (i BorderType) String() string
func (BorderType) Unapply ¶
func (i BorderType) Unapply(obj ObjRef) (ret bool)
type ButtonType ¶
type ButtonType int
const ( Button ButtonType = iota Submit Reset )
func (*ButtonType) SetString ¶
func (i *ButtonType) SetString(s string)
func (ButtonType) String ¶
func (i ButtonType) String() string
type Color ¶
type Color int
func (Color) ApplyAlert ¶
func (Color) ApplyBackground ¶
func (Color) ApplyBorder ¶
func (Color) ApplyButton ¶
func (Color) ApplyOutlineButton ¶
func (Color) IsTextColor ¶
func (Color) UnapplyAlert ¶
func (Color) UnapplyBackground ¶
func (Color) UnapplyBorder ¶
func (Color) UnapplyButton ¶
func (Color) UnapplyOutlineButton ¶
func (Color) UnapplyText ¶
type Decoration ¶
type Decoration int
const ( DecorationReset Decoration = iota DecorationNone DecorationUnderline DecorationLineThrough )
func (Decoration) Apply ¶
func (i Decoration) Apply(obj ObjRef) (ret bool)
func (Decoration) IsDecoration ¶
func (i Decoration) IsDecoration() bool
func (Decoration) String ¶
func (i Decoration) String() string
func (Decoration) Unapply ¶
func (i Decoration) Unapply(obj ObjRef) (ret bool)
type FontWeight ¶
type FontWeight int
const ( FontWeightNone FontWeight = iota FontWeightBold FontWeightBolder FontWeightNormal FontWeightLight FontWeightLighter )
func (FontWeight) Apply ¶
func (i FontWeight) Apply(obj ObjRef) (ret bool)
func (FontWeight) IsFontWeight ¶
func (i FontWeight) IsFontWeight() bool
func (FontWeight) String ¶
func (i FontWeight) String() string
func (FontWeight) Unapply ¶
func (i FontWeight) Unapply(obj ObjRef) (ret bool)
type ItemsPerRow ¶
type ItemsPerRow int
const ( N1PerRow ItemsPerRow = 12 N2PerRow ItemsPerRow = 6 N3PerRow ItemsPerRow = 4 N4PerRow ItemsPerRow = 3 N6PerRow ItemsPerRow = 2 N12PerRow ItemsPerRow = 1 )
func (ItemsPerRow) String ¶
func (i ItemsPerRow) String() string
type RoundedType ¶
type RoundedType int
const ( RoundedNone RoundedType = iota RoundedPill RoundedCircle RoundedStart RoundedEnd RoundedTop RoundedBottom Rounded )
func (RoundedType) Apply ¶
func (i RoundedType) Apply(obj ObjRef) (ret bool)
func (RoundedType) String ¶
func (i RoundedType) String() string
func (RoundedType) Unapply ¶
func (i RoundedType) Unapply(obj ObjRef) (ret bool)
type Size ¶
type Size int
func (Size) ApplyBorder ¶
func (Size) UnapplyBorder ¶
func (Size) UnapplyFont ¶
type SpinnerType ¶
type SpinnerType int
const ( SpinnerBorder SpinnerType = iota SpinnerGrow )
func (SpinnerType) String ¶
func (i SpinnerType) String() string
Click to show internal directories.
Click to hide internal directories.