Documentation
¶
Overview ¶
templ: version: v0.3.977
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HalfStar ¶
func HalfStar(props HalfStarProps) templ.Component
HalfStar renders two <input type="radio"> for the left and right halves of a star.
Types ¶
type HalfStarProps ¶
type HalfStarProps struct {
Class string
Name string
Mask Mask
Label1 string
Label2 string
Checked int // 1 for first half, 2 for second half, 0 for neither
}
HalfStar renders a pair of inputs for half-star rating (left half + right half).
Click to show internal directories.
Click to hide internal directories.