Documentation
¶
Index ¶
- func AspectRatio() *aspectRatio
- func ExtractCSS(c IsComponent) string
- func ForEach[T any](items ...T) *forEachComponent[T]
- func HStack(components ...IsComponent) *stack
- func Icon(ic icons.IsIcon) *icon
- func List() *listComponent
- func ListItem(children ...IsComponent) *listItemComponent
- func Render(c IsComponent) string
- func Slot() *slot
- func Stack(components ...IsComponent) *stack
- func Text(content string) *text
- func VStack(components ...IsComponent) *stack
- type IsComponent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AspectRatio ¶ added in v0.0.32
func AspectRatio() *aspectRatio
func ExtractCSS ¶ added in v0.0.15
func ExtractCSS(c IsComponent) string
func HStack ¶ added in v0.0.20
func HStack(components ...IsComponent) *stack
func ListItem ¶ added in v0.0.32
func ListItem(children ...IsComponent) *listItemComponent
func Render ¶
func Render(c IsComponent) string
func Stack ¶ added in v0.0.20
func Stack(components ...IsComponent) *stack
func VStack ¶ added in v0.0.20
func VStack(components ...IsComponent) *stack
Types ¶
type IsComponent ¶
type IsComponent interface {
Element() *element.HtmlElement
}
func ApplyLayout ¶
func ApplyLayout(layout IsComponent, e IsComponent) IsComponent
func Component ¶
func Component(c IsComponent) IsComponent
Click to show internal directories.
Click to hide internal directories.