Documentation
¶
Index ¶
- func AddClass(class string) seed.Option
- func Element(c seed.Seed) js.Element
- func ID(root seed.Seed) string
- func Render(c seed.Seed) []byte
- func Set(html string) seed.Option
- func SetAttribute(name string, constant string) seed.Option
- func SetAttributeTo(name string, variable client.String) seed.Option
- func SetID(id string) seed.Option
- func SetInnerText(constant string) seed.Option
- func SetInnerTextTo(variable client.String) seed.Option
- func SetStyle(property, value string) seed.Option
- func SetTag(tag string) seed.Option
- type Data
- type Document
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetAttribute ¶
SetAttribute returns an option that sets an HTML attribute of this seed.
func SetAttributeTo ¶
SetAttributeTo returns an option that sets an HTML attribute of this seed.
func SetInnerText ¶
SetInnerText returns an option that sets the HTML innerText associated with the seed.
func SetInnerTextTo ¶
SetInnerTextTo returns an option that sets the HTML innerText associated with the seed.
Types ¶
Click to show internal directories.
Click to hide internal directories.