div

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(children []widget.BaseWidget, opts ...Option) widget.BaseWidget

Types

type Option

type Option options.OptionWrapper

func AlignItems

func AlignItems(alignItems options.AxisAlignmentType) Option

func AlignSelf

func AlignSelf(alignSelf options.AxisSizeType) Option

func Alt

func Alt(alt string) Option

func BackgroundColor

func BackgroundColor(color string) Option

func BorderColor

func BorderColor(color string) Option

func BorderRadius

func BorderRadius(borderRadius int) Option

func BorderStyle

func BorderStyle(style options.BorderStyleType) Option

func BorderWidth

func BorderWidth(top int, right int, bottom int, left int) Option

func BoxShadow

func BoxShadow(shadow string) Option

func Class

func Class(class string) Option

func ColumnCount

func ColumnCount(opts ...breakpoint.BreakpointOptions[int]) Option

func ColumnGap

func ColumnGap(columnGap int) Option

func D

func D(data string) Option

func Display

func Display(display options.DisplayType) Option

func Fill

func Fill(fill string) Option

func Flex

func Flex(flex int) Option

func FlexDirection

func FlexDirection(flexDirection options.FlexDirectionType) Option

func FlexWrap

func FlexWrap(flexWrap options.FlexWrapType) Option

func FontColor

func FontColor(color string) Option

func FontFamily

func FontFamily(fontFamily string) Option

func FontSize

func FontSize(fontSize int) Option

func FontWeight

func FontWeight(fontWeight string) Option

func Height

func Height(opts ...breakpoint.BreakpointOptions[int]) Option

func Href

func Href(href string) Option

func ID

func ID(id string) Option

func JustifyContent

func JustifyContent(justifyContent options.AxisAlignmentType) Option

func LineHeight

func LineHeight(lineHeight float64) Option

func MaxWidth

func MaxWidth(opts ...breakpoint.BreakpointOptions[int]) Option

func NewTab

func NewTab(newTab bool) Option

func OnClick

func OnClick(handler options.OnClickHandler) Option

func Overflow

func Overflow(overflow options.OverflowType) Option

func RowGap

func RowGap(rowGap int) Option

func Tooltip

func Tooltip(tooltip string) Option

func Transition

func Transition(transition float64) Option

func UserSelect

func UserSelect(userSelect options.UserSelectType) Option

func Visible

func Visible(opts ...breakpoint.BreakpointOptions[bool]) Option

func Width

func Width(opts ...breakpoint.BreakpointOptions[int]) Option

func WidthP

func WidthP(opts ...breakpoint.BreakpointOptions[float64]) Option

Jump to

Keyboard shortcuts

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