Documentation ¶
Index ¶
- func CSSComponentsPack() web.ComponentsPack
- func JSComponentsPack() web.ComponentsPack
- type Builder
- func (b *Builder) AppendChildren(children ...h.HTMLComponent) (r *Builder)
- func (b *Builder) Attr(vs ...interface{}) (r *Builder)
- func (b *Builder) Children(children ...h.HTMLComponent) (r *Builder)
- func (b *Builder) Class(names ...string) (r *Builder)
- func (b *Builder) ClassIf(name string, add bool) (r *Builder)
- func (b *Builder) Config(v Config) (r *Builder)
- func (b *Builder) MarshalHTML(ctx context.Context) (r []byte, err error)
- func (b *Builder) Placeholder(v string) (r *Builder)
- func (b *Builder) PrependChildren(children ...h.HTMLComponent) (r *Builder)
- func (b *Builder) RawConfig(v interface{}) (r *Builder)
- func (b *Builder) SetAttr(k string, v interface{})
- func (b *Builder) Value(v string) (r *Builder)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CSSComponentsPack ¶
func CSSComponentsPack() web.ComponentsPack
func JSComponentsPack ¶
func JSComponentsPack() web.ComponentsPack
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func (*Builder) AppendChildren ¶
func (b *Builder) AppendChildren(children ...h.HTMLComponent) (r *Builder)
func (*Builder) MarshalHTML ¶
func (*Builder) Placeholder ¶
func (*Builder) PrependChildren ¶
func (b *Builder) PrependChildren(children ...h.HTMLComponent) (r *Builder)
Click to show internal directories.
Click to hide internal directories.