Documentation
¶
Overview ¶
templ: version: v0.3.1001
Index ¶
Constants ¶
View Source
const RootClassName = "form-check"
Variables ¶
This section is empty.
Functions ¶
func Show ¶
func Show(props ChecksProps) templ.Component
Types ¶
type ChecksProps ¶
type ChecksProps struct {
base.FormElementProps
LabelText string
IsChecked bool
AsSwitch bool
Validation entities.FormFieldValidation
}
func (ChecksProps) BuildClassNames ¶
func (cp ChecksProps) BuildClassNames() (classes string)
Click to show internal directories.
Click to hide internal directories.