Documentation ¶
Overview ¶
templ: version: v0.2.663
templ: version: v0.2.663
templ: version: v0.2.663
templ: version: v0.2.663
templ: version: v0.2.663
templ: version: v0.2.663
templ: version: v0.2.663
templ: version: v0.2.663
templ: version: v0.2.663
Index ¶
- func Box() templ.Component
- func Button(opts ButtonOptions) templ.Component
- func Codicon(iconName string, small bool) templ.Component
- func CommentBox(issueActivity *pb_issue.IssueActivity, userMap map[uint64]*pb_user.User) templ.Component
- func FormDropdown(name string, req bool, value string, hxOptions FormHXOptions) templ.Component
- func FormDropdownField(name string, label string, opts FormFieldOptions) templ.Component
- func FormField(name string, label string, fieldType string, opts FormFieldOptions) templ.Component
- func FormInput(name string, fieldType string, opts FormInputOptions) templ.Component
- func FormOption(label string, value string, selectedValue string) templ.Component
- func FormTextarea(name string) templ.Component
- func FormTextareaField(name string, label string, opts FormFieldOptions) templ.Component
- func HxLink(targetURL templ.SafeURL, targetSelector string, opts HxLinkOptions) templ.Component
- func IssueRow(projectNo uint64, issue *pb_issue.Issue, issueFlows []*pb_flow.Flow, ...) templ.Component
- func ListItem(id string, onClickFunc templ.ComponentScript) templ.Component
- func Tag(projectNo uint64, title string, color string, opts TagOptions) templ.Component
- func TagOption(tagObj *pb_tag.Tag) templ.Component
- func Time(unix int64, opts TimeOptions) templ.Component
- func User(user *pb_user.User, opts UserOptions) templ.Component
- type ButtonOptions
- type FormFieldOptions
- type FormHXOptions
- type FormInputOptions
- type HxLinkOptions
- type TagOptions
- type TimeOptions
- type UserOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Button ¶
func Button(opts ButtonOptions) templ.Component
func CommentBox ¶
func FormDropdown ¶
func FormDropdownField ¶
func FormDropdownField(name string, label string, opts FormFieldOptions) templ.Component
func FormInput ¶
func FormInput(name string, fieldType string, opts FormInputOptions) templ.Component
func FormTextarea ¶
func FormTextareaField ¶
func FormTextareaField(name string, label string, opts FormFieldOptions) templ.Component
Types ¶
type ButtonOptions ¶
type FormFieldOptions ¶
type FormHXOptions ¶
type FormInputOptions ¶
type HxLinkOptions ¶
type HxLinkOptions struct { ButtonOptions UseButtonStyle bool PushURL bool Method string Swap string }
type TagOptions ¶
type TimeOptions ¶
type TimeOptions struct{}
type UserOptions ¶
Click to show internal directories.
Click to hide internal directories.