jsdom

package
Version: v0.0.0-...-f2091f6 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2015 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Document

type Document struct {
	Node
}

func (Document) SetTitle

func (z Document) SetTitle(title string)

func (Document) Title

func (z Document) Title() string

type Event

type Event struct{ *js.Object }

func (Event) JS

func (e Event) JS() *js.Object

func (Event) PreventDefault

func (e Event) PreventDefault()

func (Event) StopPropagation

func (e Event) StopPropagation()

type FormEl

type FormEl struct{ Node }

func (FormEl) IsValid

func (e FormEl) IsValid() bool

type InputEl

type InputEl struct{ Node }

func (InputEl) Checked

func (e InputEl) Checked() bool

func (InputEl) JS

func (e InputEl) JS() *js.Object

func (InputEl) SetChecked

func (e InputEl) SetChecked(checked bool)

func (InputEl) SetValue

func (e InputEl) SetValue(value string)

func (InputEl) Value

func (e InputEl) Value() string

type Node

type Node struct {
	*js.Object
}

func (Node) Children

func (z Node) Children() []dom.Node

func (Node) Clear

func (z Node) Clear()

func (Node) Data

func (z Node) Data() string

func (Node) Find

func (z Node) Find(query string) []dom.Node

func (Node) JS

func (z Node) JS() *js.Object

func (Node) RemoveAttr

func (z Node) RemoveAttr(attr string)

func (Node) SetAttr

func (d Node) SetAttr(attr string, value interface{})

func (Node) SetClass

func (z Node) SetClass(class string, val bool)

func (Node) SetProp

func (z Node) SetProp(prop string, value interface{})

func (Node) Type

func (z Node) Type() dom.NodeType

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL