vue

package
v0.0.0-...-932f57c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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 (*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 (*FormFieldBuilder) Value

func (b *FormFieldBuilder) Value(fieldName string, value any) *FormFieldBuilder

type RawVar

type RawVar = js.Raw

type UserComponentAssigner

type UserComponentAssigner struct {
	Dst    Var
	Values js.Object
	Merges []string
}

func (*UserComponentAssigner) Merge

func (*UserComponentAssigner) Set

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 (*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 (*UserComponentBuilder) Component

func (b *UserComponentBuilder) Component() *h.HTMLTagBuilder

func (*UserComponentBuilder) GetChildren

func (b *UserComponentBuilder) GetChildren() []h.HTMLComponent

func (*UserComponentBuilder) OnMounted

func (*UserComponentBuilder) OnUmount

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 (*UserComponentBuilder) Template

func (b *UserComponentBuilder) Template() *h.HTMLTagBuilder

func (*UserComponentBuilder) Write

func (b *UserComponentBuilder) Write(ctx *h.Context) (err error)

type Var

type Var string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL