Documentation
¶
Index ¶
- type Element
- func A(href string, children ...*Element) *Element
- func Button(text string) *Element
- func Div(children ...*Element) *Element
- func Form() *Element
- func Fragment(children ...*Element) *Element
- func H1(text string) *Element
- func H2(text string) *Element
- func H3(text string) *Element
- func H4(text string) *Element
- func H5(text string) *Element
- func H6(text string) *Element
- func Html(content string) *Element
- func Img(src string) *Element
- func Input(name string) *Element
- func Label(text string) *Element
- func NewElement(tag string) *Element
- func None() *Element
- func P(text string) *Element
- func Section(children ...*Element) *Element
- func Span(text string) *Element
- func Template(filename string) *Element
- func (e *Element) Attr(key string, value string) *Element
- func (e *Element) Boost(boost ...bool) *Element
- func (e *Element) Children(elements ...*Element) *Element
- func (e *Element) Class(classes string) *Element
- func (e *Element) Confirm(prompt string) *Element
- func (e *Element) Delete(url string) *Element
- func (e *Element) Get(url string) *Element
- func (e *Element) HasClass(class string) bool
- func (e *Element) Href(href string) *Element
- func (e *Element) Id(value string) *Element
- func (e *Element) Indicator(indicator string) *Element
- func (e *Element) Name(name string) *Element
- func (e *Element) OnClick(value string) *Element
- func (e *Element) Oob(oob string) *Element
- func (e *Element) Patch(url string) *Element
- func (e *Element) Placeholder(placeholder string) *Element
- func (e *Element) Post(url string) *Element
- func (e *Element) PushUrl(pushUrl ...bool) *Element
- func (e *Element) Put(url string) *Element
- func (e *Element) RemoveAttributes(keys ...string) *Element
- func (e *Element) RemoveClasses(classes ...string) *Element
- func (e *Element) RemoveStyles(styles ...string) *Element
- func (e *Element) Render() string
- func (e *Element) Src(src string) *Element
- func (e *Element) Style(styles string) *Element
- func (e *Element) Swap(value string) *Element
- func (e *Element) SwapOob(oob string) *Element
- func (e *Element) Target(target string) *Element
- func (e *Element) Text(content string) *Element
- func (e *Element) Trigger(trigger string) *Element
- func (e *Element) Type(tipe string) *Element
- func (e *Element) Value(value string) *Element
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Element ¶
type Element struct {
// contains filtered or unexported fields
}
func NewElement ¶
func (*Element) Placeholder ¶
func (*Element) RemoveAttributes ¶
func (*Element) RemoveClasses ¶
func (*Element) RemoveStyles ¶
Click to show internal directories.
Click to hide internal directories.