Ejemplo n.º 1
0
func SetBody(content html.Node) {
	getBody().SetInnerHTML(content.String())
}
Ejemplo n.º 2
0
//SetBody sets the content of the body, in the future this should be replaced by own dom wrapping
func (element Element) SetInnerHTML(content html.Node) {
	element.object.Set("innerHTML", content.String())
}
Ejemplo n.º 3
0
func (element jQuerySelector) Before(content html.Node) {
	element.oneArgumentMethod("before", content.String())
}
Ejemplo n.º 4
0
func (element jQuerySelector) Prepend(content html.Node) {
	element.oneArgumentMethod("prepend", content.String())
}
Ejemplo n.º 5
0
func (element jQuerySelector) HTML(content html.Node) {
	element.oneArgumentMethod("html", content.String())
}