Documentation
¶
Index ¶
- type FormFieldBuilder
- func (b *FormFieldBuilder) Bind() *FormFieldBuilder
- func (b *FormFieldBuilder) BindTo(comp h.TagGetter) *FormFieldBuilder
- func (b *FormFieldBuilder) Field() h.HTMLComponent
- func (b *FormFieldBuilder) Scope(name string, v ...any) *FormFieldBuilder
- func (b *FormFieldBuilder) Setup(s string) *FormFieldBuilder
- func (b *FormFieldBuilder) Value(fieldName string, value any) *FormFieldBuilder
- type RawVar
- type UserComponentAssigner
- type UserComponentBuilder
- func (b *UserComponentBuilder) AppendChild(h ...h.HTMLComponent) *UserComponentBuilder
- func (b *UserComponentBuilder) Assign(dst Var, key string, val any) *UserComponentBuilder
- func (b *UserComponentBuilder) AssignMany(dst Var, val string) *UserComponentBuilder
- func (b *UserComponentBuilder) Assigner(dst Var) *UserComponentAssigner
- func (b *UserComponentBuilder) Component() *h.HTMLTagBuilder
- func (b *UserComponentBuilder) GetChildren() []h.HTMLComponent
- func (b *UserComponentBuilder) OnMounted(s string) *UserComponentBuilder
- func (b *UserComponentBuilder) OnUmount(s string) *UserComponentBuilder
- func (b *UserComponentBuilder) Scope(name string, value ...any) *UserComponentBuilder
- func (b *UserComponentBuilder) ScopeVar(name string, value string) *UserComponentBuilder
- func (b *UserComponentBuilder) Setup(s string) *UserComponentBuilder
- func (b *UserComponentBuilder) Template() *h.HTMLTagBuilder
- func (b *UserComponentBuilder) Write(ctx *h.Context) (err error)
- type Var
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FormFieldBuilder ¶
type FormFieldBuilder struct {
*UserComponentBuilder
}
func FormField ¶
func FormField(fieldComponent ...h.HTMLComponent) (b *FormFieldBuilder)
func (*FormFieldBuilder) Bind ¶
func (b *FormFieldBuilder) Bind() *FormFieldBuilder
func (*FormFieldBuilder) BindTo ¶
func (b *FormFieldBuilder) BindTo(comp h.TagGetter) *FormFieldBuilder
func (*FormFieldBuilder) Field ¶
func (b *FormFieldBuilder) Field() h.HTMLComponent
func (*FormFieldBuilder) Scope ¶
func (b *FormFieldBuilder) Scope(name string, v ...any) *FormFieldBuilder
func (*FormFieldBuilder) Setup ¶
func (b *FormFieldBuilder) Setup(s string) *FormFieldBuilder
func (*FormFieldBuilder) Value ¶
func (b *FormFieldBuilder) Value(fieldName string, value any) *FormFieldBuilder
type UserComponentAssigner ¶
func (*UserComponentAssigner) Merge ¶
func (a *UserComponentAssigner) Merge(value string) *UserComponentAssigner
func (*UserComponentAssigner) Set ¶
func (a *UserComponentAssigner) Set(key string, value any) *UserComponentAssigner
func (*UserComponentAssigner) String ¶
func (a *UserComponentAssigner) String() string
type UserComponentBuilder ¶
type UserComponentBuilder struct { *h.HTMLTagBuilder // contains filtered or unexported fields }
func UserComponent ¶
func UserComponent(children ...h.HTMLComponent) *UserComponentBuilder
func (*UserComponentBuilder) AppendChild ¶
func (b *UserComponentBuilder) AppendChild(h ...h.HTMLComponent) *UserComponentBuilder
func (*UserComponentBuilder) Assign ¶
func (b *UserComponentBuilder) Assign(dst Var, key string, val any) *UserComponentBuilder
func (*UserComponentBuilder) AssignMany ¶
func (b *UserComponentBuilder) AssignMany(dst Var, val string) *UserComponentBuilder
func (*UserComponentBuilder) Assigner ¶
func (b *UserComponentBuilder) Assigner(dst Var) *UserComponentAssigner
func (*UserComponentBuilder) Component ¶
func (b *UserComponentBuilder) Component() *h.HTMLTagBuilder
func (*UserComponentBuilder) GetChildren ¶
func (b *UserComponentBuilder) GetChildren() []h.HTMLComponent
func (*UserComponentBuilder) OnMounted ¶
func (b *UserComponentBuilder) OnMounted(s string) *UserComponentBuilder
func (*UserComponentBuilder) OnUmount ¶
func (b *UserComponentBuilder) OnUmount(s string) *UserComponentBuilder
func (*UserComponentBuilder) Scope ¶
func (b *UserComponentBuilder) Scope(name string, value ...any) *UserComponentBuilder
func (*UserComponentBuilder) ScopeVar ¶
func (b *UserComponentBuilder) ScopeVar(name string, value string) *UserComponentBuilder
func (*UserComponentBuilder) Setup ¶
func (b *UserComponentBuilder) Setup(s string) *UserComponentBuilder
func (*UserComponentBuilder) Template ¶
func (b *UserComponentBuilder) Template() *h.HTMLTagBuilder
Click to show internal directories.
Click to hide internal directories.