Documentation
¶
Index ¶
- func Box(c *app.Ctx, props app.Props) string
- func New(c *app.Ctx, child app.FC, opts ...BoxProp) *app.C
- func NewEmpty(c *app.Ctx, opts ...BoxProp) *app.C
- type BoxProp
- func WithBg(bg color.Color) BoxProp
- func WithBorder(border lipgloss.Border) BoxProp
- func WithBorderBottom(border lipgloss.Border) BoxProp
- func WithBorderColor(color color.Color) BoxProp
- func WithBorderLeft(border lipgloss.Border) BoxProp
- func WithBorderRight(border lipgloss.Border) BoxProp
- func WithBorderTop(border lipgloss.Border) BoxProp
- func WithDisableFollow(disable bool) BoxProp
- func WithGrow(grow bool) BoxProp
- func WithGrowX(grow bool) BoxProp
- func WithGrowY(grow bool) BoxProp
- func WithHeight(height int) BoxProp
- func WithKey(key string) BoxProp
- func WithWidth(width int) BoxProp
- type BoxProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BoxProp ¶
type BoxProp func(*BoxProps)
BoxProp is a function type for setting BoxProps.
func WithBorder ¶
func WithBorderBottom ¶
func WithBorderColor ¶
func WithBorderLeft ¶
func WithBorderRight ¶
func WithBorderTop ¶
func WithDisableFollow ¶
WithDisableFollow disables the viewport's auto-scrolling to the bottom on content change.
func WithHeight ¶
Click to show internal directories.
Click to hide internal directories.