Documentation
¶
Index ¶
- type OnClickHandler
- type OnDragEndHandler
- type OnDragHandler
- type OnDragStartHandler
- type Option
- func AlignItems(alignItems theme.AxisAlignmentType) Option
- func AlignSelf(alignSelf theme.AxisSizeType) Option
- func Alt(alt string) Option
- func BackgroundColor(color string) Option
- func BorderColor(color string) Option
- func BorderRadius(borderRadius int) Option
- func BorderStyle(style theme.BorderStyleType) Option
- func BorderWidth(spacing spacing.Spacing) Option
- func BoxShadow(shadow string) Option
- func ButtonStyle(buttonStyle theme_style.ButtonStyle) Option
- func Class(class string) Option
- func ColumnCount(columnCount ...breakpoint.BreakpointOptions[int]) Option
- func ColumnGap(columnGap int) Option
- func ContainerStyle(containerStyle theme_style.ContainerStyle) Option
- func D(data string) Option
- func Display(display theme.DisplayType) Option
- func Draggable(draggable bool) Option
- func Fill(fill string) Option
- func Flex(flex int) Option
- func FlexDirection(flexDirection theme.FlexDirectionType) Option
- func FlexWrap(flexWrap theme.FlexWrapType) Option
- func FontColor(color string) Option
- func FontFamily(fontFamily string) Option
- func FontSize(fontSize int) Option
- func FontWeight(fontWeight string) Option
- func Height(options ...breakpoint.BreakpointOptions[int]) Option
- func Href(href string) Option
- func ID(id string) Option
- func JustifyContent(justifyContent theme.AxisAlignmentType) Option
- func Label(label string) Option
- func LetterSpacing(letterSpacing float64) Option
- func LineHeight(lineHeight float64) Option
- func Margin(options ...breakpoint.BreakpointOptions[spacing.Spacing]) Option
- func MaxWidth(options ...breakpoint.BreakpointOptions[int]) Option
- func NewTab(newTab bool) Option
- func OnClick(handler OnClickHandler) Option
- func OnDrag(handler OnDragHandler) Option
- func OnDragEnd(handler OnDragEndHandler) Option
- func OnDragStart(handler OnDragStartHandler) Option
- func Opacity(opacity float64) Option
- func Overflow(overflow theme.OverflowType) Option
- func Padding(options ...breakpoint.BreakpointOptions[spacing.Spacing]) Option
- func RowGap(rowGap int) Option
- func SetText(text string) Option
- func TextAlign(textAlign theme.TextAlignType) Option
- func TextStyle(textStyle theme_style.TextStyle) Option
- func Tooltip(tooltip string) Option
- func Transition(seconds float64) Option
- func UserSelect(userSelect theme.UserSelectType) Option
- func Visible(options ...breakpoint.BreakpointOptions[bool]) Option
- func Width(options ...breakpoint.BreakpointOptions[int]) Option
- func WidthP(options ...breakpoint.BreakpointOptions[float64]) Option
- type OptionWrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OnClickHandler ¶
type OnClickHandler func(this application.BaseWidget, e application.Event)
type OnDragEndHandler ¶ added in v0.0.6
type OnDragEndHandler func(this application.BaseWidget, e application.Event)
type OnDragHandler ¶ added in v0.0.6
type OnDragHandler func(this application.BaseWidget, e application.Event)
type OnDragStartHandler ¶ added in v0.0.6
type OnDragStartHandler func(this application.BaseWidget, e application.Event)
type Option ¶
type Option func(widget application.BaseWidget)
func AlignItems ¶
func AlignItems(alignItems theme.AxisAlignmentType) Option
func AlignSelf ¶
func AlignSelf(alignSelf theme.AxisSizeType) Option
func BackgroundColor ¶
func BorderColor ¶
func BorderRadius ¶
func BorderStyle ¶
func BorderStyle(style theme.BorderStyleType) Option
func BorderWidth ¶
func ButtonStyle ¶ added in v0.0.4
func ButtonStyle(buttonStyle theme_style.ButtonStyle) Option
func ColumnCount ¶
func ColumnCount(columnCount ...breakpoint.BreakpointOptions[int]) Option
func ContainerStyle ¶ added in v0.0.4
func ContainerStyle(containerStyle theme_style.ContainerStyle) Option
func Display ¶
func Display(display theme.DisplayType) Option
func FlexDirection ¶
func FlexDirection(flexDirection theme.FlexDirectionType) Option
func FlexWrap ¶
func FlexWrap(flexWrap theme.FlexWrapType) Option
func FontFamily ¶
func FontWeight ¶
func Height ¶
func Height(options ...breakpoint.BreakpointOptions[int]) Option
func JustifyContent ¶
func JustifyContent(justifyContent theme.AxisAlignmentType) Option
func LetterSpacing ¶ added in v0.0.4
func LineHeight ¶
func Margin ¶
func Margin(options ...breakpoint.BreakpointOptions[spacing.Spacing]) Option
func MaxWidth ¶
func MaxWidth(options ...breakpoint.BreakpointOptions[int]) Option
func OnClick ¶
func OnClick(handler OnClickHandler) Option
func OnDrag ¶ added in v0.0.6
func OnDrag(handler OnDragHandler) Option
func OnDragEnd ¶ added in v0.0.6
func OnDragEnd(handler OnDragEndHandler) Option
func OnDragStart ¶ added in v0.0.6
func OnDragStart(handler OnDragStartHandler) Option
func Overflow ¶
func Overflow(overflow theme.OverflowType) Option
func Padding ¶
func Padding(options ...breakpoint.BreakpointOptions[spacing.Spacing]) Option
func TextAlign ¶
func TextAlign(textAlign theme.TextAlignType) Option
func TextStyle ¶ added in v0.0.4
func TextStyle(textStyle theme_style.TextStyle) Option
func Transition ¶
func UserSelect ¶
func UserSelect(userSelect theme.UserSelectType) Option
func Visible ¶
func Visible(options ...breakpoint.BreakpointOptions[bool]) Option
func Width ¶
func Width(options ...breakpoint.BreakpointOptions[int]) Option
func WidthP ¶
func WidthP(options ...breakpoint.BreakpointOptions[float64]) Option
type OptionWrapper ¶
type OptionWrapper func() Option
Click to show internal directories.
Click to hide internal directories.