Documentation
¶
Overview ¶
templ: version: v0.3.977
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Close ¶
func Close(props ...CloseProps) templ.Component
Close renders a wrapper for the close button that replaces the main button when the FAB is open.
func Fab ¶
Fab renders the floating action button container. Uses a focusable div (tabindex=0, role=button) because Safari has a CSS bug that prevents button elements from being focused properly.
func MainAction ¶
func MainAction(props ...MainActionProps) templ.Component
MainAction renders a wrapper for the main action button that replaces the main button when the FAB is open.
Types ¶
type CloseProps ¶
type CloseProps struct {
Class string
Attributes templ.Attributes
}
type MainActionProps ¶
type MainActionProps struct {
Class string
Attributes templ.Attributes
}
Click to show internal directories.
Click to hide internal directories.