Documentation ¶
Index ¶
- func AccountSwitcher(props AccountSwitcherProps, children ...htmx.Node) htmx.Node
- func AddTags(props AddTagsProps) htmx.Node
- func CardDataBlock(props *CardDataBlockProps) htmx.Node
- func DefaultLayout(props DefaultLayoutProps, node htmx.ErrBoundaryFunc) htmx.Node
- func EmojiPicker(props EmojiPickerProps) htmx.Node
- func Layout(p LayoutProps, children ...htmx.Node) htmx.Node
- func MainMenu(p MainMenuProps, children ...htmx.Node) htmx.Node
- func MultiSelect(props MultiSelectProps) htmx.Node
- func Page(props PageProps, children ...htmx.Node) htmx.Node
- func ProfileMenu(p ProfileMenuProps, children ...htmx.Node) htmx.Node
- func SubNav(p SubNavProps, children ...htmx.Node) htmx.Node
- func SubNavActions(p SubNavActionsProps, children ...htmx.Node) htmx.Node
- func SubNavBreadcrumb(p SubNavBreadcrumbProps, children ...htmx.Node) htmx.Node
- func Table[R tables.Row](props TableProps[R], columns ...tables.ColumnDef[R]) htmx.Node
- func TagInput(props TagInputProps) htmx.Node
- func UserMenu(p UserMenuProps, children ...htmx.Node) htmx.Node
- func Wrap(p WrapProps, children ...htmx.Node) htmx.Node
- type AccountSwitcherProps
- type AddTagsProps
- type CardDataBlockProps
- type DefaultLayoutProps
- type EmojiPickerProps
- type LayoutProps
- type MainMenuProps
- type MultiSelectProps
- type PageProps
- type ProfileMenuProps
- type SubNavActionsProps
- type SubNavBreadcrumbProps
- type SubNavProps
- type TableProps
- type TagInputProps
- type UserMenuProps
- type WrapProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccountSwitcher ¶
func AccountSwitcher(props AccountSwitcherProps, children ...htmx.Node) htmx.Node
AccountSwitcher ...
func DefaultLayout ¶ added in v0.1.9
func DefaultLayout(props DefaultLayoutProps, node htmx.ErrBoundaryFunc) htmx.Node
DefaultLayout ...
func EmojiPicker ¶ added in v0.1.24
func EmojiPicker(props EmojiPickerProps) htmx.Node
EmojiPicker ...
func Layout ¶
func Layout(p LayoutProps, children ...htmx.Node) htmx.Node
Layout is a whole document to output.
func ProfileMenu ¶ added in v0.1.9
func ProfileMenu(p ProfileMenuProps, children ...htmx.Node) htmx.Node
ProfileMenu ...
func SubNavActions ¶
func SubNavActions(p SubNavActionsProps, children ...htmx.Node) htmx.Node
SubNavActions ...
func SubNavBreadcrumb ¶
func SubNavBreadcrumb(p SubNavBreadcrumbProps, children ...htmx.Node) htmx.Node
SubNavBreadcrumb ...
Types ¶
type AccountSwitcherProps ¶
type AccountSwitcherProps struct { // ClassNames ... ClassNames htmx.ClassNames // User ... User adapters.GothUser }
AccountSwitcherProps ...
type AddTagsProps ¶ added in v0.1.21
type AddTagsProps struct {
ClassNames htmx.ClassNames
}
AddTagsProps ...
type CardDataBlockProps ¶
CardDataBlockProps ...
type DefaultLayoutProps ¶ added in v0.1.9
type DefaultLayoutProps struct { ClassNames htmx.ClassNames Path string Title string User adapters.GothUser Head []htmx.Node Development bool }
DefaultLayoutProps ...
type EmojiPickerProps ¶ added in v0.1.24
type EmojiPickerProps struct {
ClassNames htmx.ClassNames
}
EmojiPickerProps ...
type LayoutProps ¶
type LayoutProps struct { // Team is the teams to user adapters. Team adapters.GothTeam User adapters.GothUser Path string }
LayoutProps is the properties for the Layout component.
type MainMenuProps ¶
type MainMenuProps struct { ClassNames htmx.ClassNames Path string Team string }
MainMenuProps ...
type ProfileMenuProps ¶ added in v0.1.9
type ProfileMenuProps struct { ClassNames htmx.ClassNames User adapters.GothUser }
ProfileMenuProps ...
type TableProps ¶
type TableProps[R tables.Row] struct { // ID is the unique identifier for the table. ID string // Rows is the data to be displayed in the table. Rows []R // URL is the URL to send the request to. URL string // Search is the search string. Search string // Offset is the offset of the table. Offset int // Limit is the limit of the table. Limit int // Total is the total number of rows in the table. Total int // Toolbar is the toolbar of the table. Toolbar htmx.Node }
TableProps ...
type TagInputProps ¶
type TagInputProps struct {
ClassNames htmx.ClassNames
}
TagInputProps is a component that allows users to input tags.
type UserMenuProps ¶
type UserMenuProps struct { ClassNames htmx.ClassNames Path string }
UserMenuProps ...
Source Files ¶
Click to show internal directories.
Click to hide internal directories.