Documentation ¶
Overview ¶
generated by js/modules/k6/html/gen/gen_elements.go directed by js/modules/k6/html/elements.go; DO NOT EDIT nolint: goconst
Index ¶
- Constants
- type AnchorElement
- type AreaElement
- type Attribute
- type AudioElement
- type BaseElement
- type ButtonElement
- type CanvasElement
- type DataElement
- type DataListElement
- type DelElement
- type Element
- func (e Element) Attributes() map[string]Attribute
- func (e Element) ChildElementCount() int
- func (e Element) ChildNodes() []goja.Value
- func (e Element) Children() []goja.Value
- func (e Element) ClassList() []string
- func (e Element) ClassName() goja.Value
- func (e Element) Contains(v goja.Value) bool
- func (e Element) FirstChild() goja.Value
- func (e Element) FirstElementChild() goja.Value
- func (e Element) GetAttribute(name string) goja.Value
- func (e Element) GetAttributeNode(name string) goja.Value
- func (e Element) GetElementsByClassName(name string) []goja.Value
- func (e Element) GetElementsByTagName(name string) []goja.Value
- func (e Element) HasAttribute(name string) bool
- func (e Element) HasAttributes() bool
- func (e Element) HasChildNodes() bool
- func (e Element) Id() string
- func (e Element) InnerHTML() goja.Value
- func (e Element) IsDefaultNamespace() bool
- func (e Element) IsEqualNode(v goja.Value) bool
- func (e Element) IsSameNode(v goja.Value) bool
- func (e Element) Lang() goja.Value
- func (e Element) LastChild() goja.Value
- func (e Element) LastElementChild() goja.Value
- func (e Element) Matches(selector string) bool
- func (e Element) NamespaceURI() string
- func (e Element) NextElementSibling() goja.Value
- func (e Element) NextSibling() goja.Value
- func (e Element) NodeName() string
- func (e Element) NodeType() goja.Value
- func (e Element) NodeValue() goja.Value
- func (e Element) OwnerDocument() goja.Value
- func (e Element) ParentElement() goja.Value
- func (e Element) ParentNode() goja.Value
- func (e Element) PreviousElementSibling() goja.Value
- func (e Element) PreviousSibling() goja.Value
- func (e Element) QuerySelector(selector string) goja.Value
- func (e Element) QuerySelectorAll(selector string) []goja.Value
- func (e Element) TextContent() string
- func (e Element) ToString() goja.Value
- type EmbedElement
- type FieldSetElement
- type FormElement
- func (e FormElement) AcceptCharset() string
- func (e FormElement) Action() string
- func (e FormElement) Autocomplete() string
- func (f FormElement) Elements() []goja.Value
- func (e FormElement) Encoding() string
- func (e FormElement) Enctype() string
- func (f FormElement) Length() int
- func (f FormElement) Method() string
- func (e FormElement) Name() string
- func (e FormElement) NoValidate() bool
- func (e FormElement) Target() string
- type FormFieldElement
- func (f FormFieldElement) Form() goja.Value
- func (f FormFieldElement) FormAction() string
- func (f FormFieldElement) FormEnctype() string
- func (f FormFieldElement) FormMethod() string
- func (f FormFieldElement) FormNoValidate() bool
- func (f FormFieldElement) FormTarget() string
- func (f FormFieldElement) Labels() []goja.Value
- func (f FormFieldElement) Name() string
- type FormValue
- type HTML
- type HrefElement
- func (e HrefElement) AccessKey() string
- func (e HrefElement) Download() string
- func (h HrefElement) Hash() string
- func (h HrefElement) Host() string
- func (h HrefElement) Hostname() string
- func (e HrefElement) Href() string
- func (e HrefElement) HrefLang() string
- func (h HrefElement) Origin() string
- func (h HrefElement) Password() string
- func (h HrefElement) Pathname() string
- func (h HrefElement) Port() string
- func (h HrefElement) Protocol() string
- func (e HrefElement) ReferrerPolicy() string
- func (e HrefElement) Rel() string
- func (h HrefElement) RelList() []string
- func (h HrefElement) Search() string
- func (e HrefElement) Target() string
- func (h HrefElement) Text() string
- func (e HrefElement) ToString() string
- func (e HrefElement) Type() string
- func (h HrefElement) Username() string
- type IFrameElement
- type ImageElement
- func (e ImageElement) Alt() string
- func (e ImageElement) CrossOrigin() goja.Value
- func (e ImageElement) CurrentSrc() string
- func (e ImageElement) Height() int
- func (e ImageElement) IsMap() bool
- func (e ImageElement) Name() string
- func (e ImageElement) ReferrerPolicy() string
- func (e ImageElement) Sizes() string
- func (e ImageElement) Src() string
- func (e ImageElement) Srcset() string
- func (e ImageElement) UseMap() string
- func (e ImageElement) Width() int
- type InputElement
- func (e InputElement) Accept() string
- func (e InputElement) AccessKey() string
- func (e InputElement) Alt() string
- func (e InputElement) Autocomplete() string
- func (e InputElement) Autofocus() bool
- func (e InputElement) Checked() bool
- func (e InputElement) DefaultChecked() bool
- func (e InputElement) DefaultValue() string
- func (e InputElement) DirName() string
- func (e InputElement) Disabled() bool
- func (e InputElement) Height() string
- func (i InputElement) List() goja.Value
- func (e InputElement) Max() string
- func (e InputElement) MaxLength() int
- func (e InputElement) Min() string
- func (e InputElement) Multiple() bool
- func (e InputElement) Name() string
- func (e InputElement) Pattern() string
- func (e InputElement) Placeholder() string
- func (e InputElement) Readonly() bool
- func (e InputElement) Required() bool
- func (e InputElement) Size() int
- func (e InputElement) Src() string
- func (e InputElement) Step() string
- func (e InputElement) TabIndex() int
- func (e InputElement) Type() string
- func (e InputElement) Value() string
- func (e InputElement) Width() string
- type InsElement
- type KeygenElement
- func (e KeygenElement) Autofocus() bool
- func (e KeygenElement) Challenge() string
- func (e KeygenElement) Disabled() bool
- func (k KeygenElement) Form() goja.Value
- func (e KeygenElement) Keytype() string
- func (k KeygenElement) Labels() []goja.Value
- func (e KeygenElement) Name() string
- func (e KeygenElement) Type() string
- type LabelElement
- type LegendElement
- type LiElement
- type LinkElement
- func (e LinkElement) CrossOrigin() goja.Value
- func (e LinkElement) Href() string
- func (e LinkElement) Hreflang() string
- func (e LinkElement) Media() string
- func (e LinkElement) ReferrerPolicy() string
- func (e LinkElement) Rel() string
- func (l LinkElement) RelList() []string
- func (e LinkElement) Target() string
- func (e LinkElement) Type() string
- type MapElement
- type MediaElement
- func (e MediaElement) Autoplay() bool
- func (e MediaElement) Controls() bool
- func (e MediaElement) CrossOrigin() goja.Value
- func (e MediaElement) CurrentSrc() string
- func (e MediaElement) DefaultMuted() bool
- func (e MediaElement) Loop() bool
- func (e MediaElement) MediaGroup() string
- func (e MediaElement) Muted() bool
- func (e MediaElement) Preload() string
- func (e MediaElement) Src() string
- func (m MediaElement) TextTracks() []goja.Value
- type MetaElement
- type MeterElement
- type ModElement
- type OListElement
- type ObjectElement
- func (e ObjectElement) Data() string
- func (o ObjectElement) Form() goja.Value
- func (e ObjectElement) Height() string
- func (e ObjectElement) Name() string
- func (e ObjectElement) TabIndex() int
- func (e ObjectElement) Type() string
- func (e ObjectElement) TypeMustMatch() bool
- func (e ObjectElement) UseMap() string
- func (e ObjectElement) Width() string
- type OptGroupElement
- type OptionElement
- func (e OptionElement) DefaultSelected() bool
- func (o OptionElement) Disabled() bool
- func (o OptionElement) Form() goja.Value
- func (o OptionElement) Index() int
- func (o OptionElement) Label() string
- func (e OptionElement) Selected() bool
- func (o OptionElement) Text() string
- func (o OptionElement) Value() string
- type OutputElement
- type ParamElement
- type PreElement
- type ProgressElement
- type QuoteElement
- type ScriptElement
- func (e ScriptElement) Async() bool
- func (e ScriptElement) Charset() string
- func (e ScriptElement) CrossOrigin() string
- func (e ScriptElement) Defer() bool
- func (e ScriptElement) NoModule() bool
- func (e ScriptElement) Src() string
- func (s ScriptElement) Text() string
- func (e ScriptElement) Type() string
- type SelectElement
- func (e SelectElement) Autofocus() bool
- func (e SelectElement) Disabled() bool
- func (s SelectElement) Form() goja.Value
- func (s SelectElement) Labels() []goja.Value
- func (s SelectElement) Length() int
- func (e SelectElement) Multiple() bool
- func (e SelectElement) Name() string
- func (s SelectElement) Options() []goja.Value
- func (e SelectElement) Required() bool
- func (s SelectElement) SelectedIndex() int
- func (s SelectElement) SelectedOptions() []goja.Value
- func (s SelectElement) Size() int
- func (e SelectElement) TabIndex() int
- func (s SelectElement) Type() string
- func (s SelectElement) Value() string
- type Selection
- func (s Selection) Add(arg interface{}) Selection
- func (s Selection) Attr(name string, def ...goja.Value) goja.Value
- func (s Selection) Children(def ...string) Selection
- func (s Selection) Closest(arg interface{}) Selection
- func (s Selection) Contents() Selection
- func (s Selection) Data(def ...string) goja.Value
- func (s Selection) Each(v goja.Value) Selection
- func (s Selection) End() Selection
- func (s Selection) Eq(idx int) Selection
- func (s Selection) Filter(v goja.Value) Selection
- func (s Selection) Find(arg interface{}) Selection
- func (s Selection) First() Selection
- func (s Selection) Get(def ...int) goja.Value
- func (s Selection) Has(arg interface{}) Selection
- func (s Selection) Html() goja.Value
- func (s Selection) Index(def ...goja.Value) int
- func (s Selection) Is(v goja.Value) bool
- func (s Selection) Last() Selection
- func (s Selection) Map(v goja.Value) []string
- func (s Selection) Next(def ...string) Selection
- func (s Selection) NextAll(def ...string) Selection
- func (s Selection) NextUntil(def ...goja.Value) Selection
- func (s Selection) Not(v goja.Value) Selection
- func (s Selection) Parent(def ...string) Selection
- func (s Selection) Parents(def ...string) Selection
- func (s Selection) ParentsUntil(def ...goja.Value) Selection
- func (s Selection) Prev(def ...string) Selection
- func (s Selection) PrevAll(def ...string) Selection
- func (s Selection) PrevUntil(def ...goja.Value) Selection
- func (s Selection) Serialize() string
- func (s Selection) SerializeArray() []FormValue
- func (s Selection) SerializeObject() map[string]goja.Value
- func (s Selection) Siblings(def ...string) Selection
- func (s Selection) Size() int
- func (s Selection) Slice(start int, def ...int) Selection
- func (s Selection) Text() string
- func (s Selection) ToArray() []Selection
- func (s Selection) Val() goja.Value
- type SourceElement
- type StyleElement
- type TableBodyElement
- type TableCellElement
- type TableColElement
- type TableDataCellElement
- type TableElement
- type TableFootElement
- type TableHeadElement
- type TableHeaderCellElement
- type TableRowElement
- type TableSectionElement
- type TextAreaElement
- func (e TextAreaElement) AccessKey() string
- func (e TextAreaElement) Autocapitalize() string
- func (e TextAreaElement) Autocomplete() string
- func (e TextAreaElement) Cols() int
- func (e TextAreaElement) DefaultValue() string
- func (t TextAreaElement) Form() goja.Value
- func (t TextAreaElement) Labels() []goja.Value
- func (t TextAreaElement) Length() int
- func (e TextAreaElement) MaxLength() int
- func (e TextAreaElement) Placeholder() string
- func (e TextAreaElement) ReadOnly() bool
- func (e TextAreaElement) Required() bool
- func (e TextAreaElement) Rows() int
- func (e TextAreaElement) TabIndex() int
- func (e TextAreaElement) Type() string
- func (e TextAreaElement) Value() string
- func (e TextAreaElement) Wrap() string
- type TimeElement
- type TitleElement
- type TrackElement
- type UListElement
- type VideoElement
Constants ¶
View Source
const ( ElementNode = 1 TextNode = 3 CommentNode = 8 DocumentNode = 9 DoctypeNode = 10 )
View Source
const ( AnchorTagName = "a" AreaTagName = "area" AudioTagName = "audio" BaseTagName = "base" ButtonTagName = "button" CanvasTagName = "canvas" DataTagName = "data" DataListTagName = "datalist" DelTagName = "del" EmbedTagName = "embed" FieldSetTagName = "fieldset" FormTagName = "form" IFrameTagName = "iframe" ImageTagName = "img" InputTagName = "input" InsTagName = "ins" KeygenTagName = "keygen" LabelTagName = "label" LegendTagName = "legend" LiTagName = "li" LinkTagName = "link" MapTagName = "map" MetaTagName = "meta" MeterTagName = "meter" ObjectTagName = "object" OListTagName = "ol" OptGroupTagName = "optgroup" OptionTagName = "option" OutputTagName = "output" ParamTagName = "param" PreTagName = "pre" ProgressTagName = "progress" QuoteTagName = "quote" ScriptTagName = "script" SelectTagName = "select" SourceTagName = "source" StyleTagName = "style" TableTagName = "table" TableHeadTagName = "thead" TableFootTagName = "tfoot" TableBodyTagName = "tbody" TableRowTagName = "tr" TableColTagName = "col" TableDataCellTagName = "td" TableHeaderCellTagName = "th" TextAreaTagName = "textarea" TimeTagName = "time" TitleTagName = "title" TrackTagName = "track" UListTagName = "ul" VideoTagName = "video" )
The code generator depends on the TagName constants being defined before the Element structs
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnchorElement ¶ added in v0.18.0
type AnchorElement struct{ HrefElement }
type AreaElement ¶ added in v0.18.0
type AreaElement struct{ HrefElement }
type Attribute ¶ added in v0.18.0
type Attribute struct { OwnerElement *Element `json:"owner_element"` Name string `json:"name"` Value string `json:"value"` // contains filtered or unexported fields }
func (Attribute) NamespaceURI ¶ added in v0.18.0
type AudioElement ¶ added in v0.18.0
type AudioElement struct{ MediaElement }
type BaseElement ¶ added in v0.18.0
type BaseElement struct{ Element }
func (BaseElement) Href ¶ added in v0.18.0
func (e BaseElement) Href() string
func (BaseElement) Target ¶ added in v0.18.0
func (e BaseElement) Target() string
type ButtonElement ¶ added in v0.18.0
type ButtonElement struct{ FormFieldElement }
func (ButtonElement) AccessKey ¶ added in v0.18.0
func (e ButtonElement) AccessKey() string
func (ButtonElement) Autofocus ¶ added in v0.18.0
func (e ButtonElement) Autofocus() bool
func (ButtonElement) Disabled ¶ added in v0.18.0
func (e ButtonElement) Disabled() bool
func (ButtonElement) TabIndex ¶ added in v0.18.0
func (e ButtonElement) TabIndex() int
func (ButtonElement) Type ¶ added in v0.18.0
func (e ButtonElement) Type() string
func (ButtonElement) Value ¶ added in v0.18.0
func (b ButtonElement) Value() string
type CanvasElement ¶ added in v0.18.0
type CanvasElement struct{ Element }
func (CanvasElement) Height ¶ added in v0.18.0
func (c CanvasElement) Height() int
func (CanvasElement) Width ¶ added in v0.18.0
func (c CanvasElement) Width() int
type DataElement ¶ added in v0.18.0
type DataElement struct{ Element }
func (DataElement) Value ¶ added in v0.18.0
func (e DataElement) Value() string
type DataListElement ¶ added in v0.18.0
type DataListElement struct{ Element }
func (DataListElement) Options ¶ added in v0.18.0
func (d DataListElement) Options() []goja.Value
type DelElement ¶ added in v0.18.0
type DelElement struct{ ModElement }
type Element ¶ added in v0.18.0
type Element struct {
// contains filtered or unexported fields
}
func (Element) Attributes ¶ added in v0.18.0
func (Element) ChildElementCount ¶ added in v0.18.0
func (Element) ChildNodes ¶ added in v0.18.0
func (Element) FirstChild ¶ added in v0.18.0
func (Element) FirstElementChild ¶ added in v0.18.0
func (Element) GetAttribute ¶ added in v0.18.0
func (Element) GetAttributeNode ¶ added in v0.18.0
func (Element) GetElementsByClassName ¶ added in v0.18.0
func (Element) GetElementsByTagName ¶ added in v0.18.0
func (Element) HasAttribute ¶ added in v0.18.0
func (Element) HasAttributes ¶ added in v0.18.0
func (Element) HasChildNodes ¶ added in v0.18.0
func (Element) IsDefaultNamespace ¶ added in v0.18.0
func (Element) LastElementChild ¶ added in v0.18.0
func (Element) NamespaceURI ¶ added in v0.18.0
func (Element) NextElementSibling ¶ added in v0.18.0
func (Element) NextSibling ¶ added in v0.18.0
func (Element) OwnerDocument ¶ added in v0.18.0
func (Element) ParentElement ¶ added in v0.18.0
func (Element) ParentNode ¶ added in v0.18.0
func (Element) PreviousElementSibling ¶ added in v0.18.0
func (Element) PreviousSibling ¶ added in v0.18.0
func (Element) QuerySelector ¶ added in v0.18.0
func (Element) QuerySelectorAll ¶ added in v0.18.0
func (Element) TextContent ¶ added in v0.18.0
type EmbedElement ¶ added in v0.18.0
type EmbedElement struct{ Element }
func (EmbedElement) Height ¶ added in v0.18.0
func (e EmbedElement) Height() string
func (EmbedElement) Src ¶ added in v0.18.0
func (e EmbedElement) Src() string
func (EmbedElement) Type ¶ added in v0.18.0
func (e EmbedElement) Type() string
func (EmbedElement) Width ¶ added in v0.18.0
func (e EmbedElement) Width() string
type FieldSetElement ¶ added in v0.18.0
type FieldSetElement struct{ Element }
func (FieldSetElement) Disabled ¶ added in v0.18.0
func (e FieldSetElement) Disabled() bool
func (FieldSetElement) Elements ¶ added in v0.18.0
func (f FieldSetElement) Elements() []goja.Value
func (FieldSetElement) Form ¶ added in v0.18.0
func (f FieldSetElement) Form() goja.Value
func (FieldSetElement) Name ¶ added in v0.18.0
func (e FieldSetElement) Name() string
func (FieldSetElement) Type ¶ added in v0.18.0
func (f FieldSetElement) Type() string
func (FieldSetElement) Validity ¶ added in v0.18.0
func (f FieldSetElement) Validity() goja.Value
type FormElement ¶ added in v0.18.0
type FormElement struct{ Element }
func (FormElement) AcceptCharset ¶ added in v0.18.0
func (e FormElement) AcceptCharset() string
func (FormElement) Action ¶ added in v0.18.0
func (e FormElement) Action() string
func (FormElement) Autocomplete ¶ added in v0.18.0
func (e FormElement) Autocomplete() string
func (FormElement) Elements ¶ added in v0.18.0
func (f FormElement) Elements() []goja.Value
func (FormElement) Encoding ¶ added in v0.18.0
func (e FormElement) Encoding() string
func (FormElement) Enctype ¶ added in v0.18.0
func (e FormElement) Enctype() string
func (FormElement) Length ¶ added in v0.18.0
func (f FormElement) Length() int
func (FormElement) Method ¶ added in v0.18.0
func (f FormElement) Method() string
func (FormElement) Name ¶ added in v0.18.0
func (e FormElement) Name() string
func (FormElement) NoValidate ¶ added in v0.18.0
func (e FormElement) NoValidate() bool
func (FormElement) Target ¶ added in v0.18.0
func (e FormElement) Target() string
type FormFieldElement ¶ added in v0.18.0
type FormFieldElement struct{ Element }
func (FormFieldElement) Form ¶ added in v0.18.0
func (f FormFieldElement) Form() goja.Value
func (FormFieldElement) FormAction ¶ added in v0.18.0
func (f FormFieldElement) FormAction() string
func (FormFieldElement) FormEnctype ¶ added in v0.18.0
func (f FormFieldElement) FormEnctype() string
nolint: goconst
func (FormFieldElement) FormMethod ¶ added in v0.18.0
func (f FormFieldElement) FormMethod() string
func (FormFieldElement) FormNoValidate ¶ added in v0.18.0
func (f FormFieldElement) FormNoValidate() bool
func (FormFieldElement) FormTarget ¶ added in v0.18.0
func (f FormFieldElement) FormTarget() string
func (FormFieldElement) Labels ¶ added in v0.18.0
func (f FormFieldElement) Labels() []goja.Value
func (FormFieldElement) Name ¶ added in v0.18.0
func (f FormFieldElement) Name() string
type HrefElement ¶ added in v0.18.0
type HrefElement struct{ Element }
func (HrefElement) AccessKey ¶ added in v0.18.0
func (e HrefElement) AccessKey() string
func (HrefElement) Download ¶ added in v0.18.0
func (e HrefElement) Download() string
func (HrefElement) Hash ¶ added in v0.18.0
func (h HrefElement) Hash() string
func (HrefElement) Host ¶ added in v0.18.0
func (h HrefElement) Host() string
func (HrefElement) Hostname ¶ added in v0.18.0
func (h HrefElement) Hostname() string
func (HrefElement) Href ¶ added in v0.18.0
func (e HrefElement) Href() string
func (HrefElement) HrefLang ¶ added in v0.18.0
func (e HrefElement) HrefLang() string
func (HrefElement) Password ¶ added in v0.18.0
func (h HrefElement) Password() string
func (HrefElement) Pathname ¶ added in v0.18.0
func (h HrefElement) Pathname() string
func (HrefElement) Port ¶ added in v0.18.0
func (h HrefElement) Port() string
func (HrefElement) Protocol ¶ added in v0.18.0
func (h HrefElement) Protocol() string
func (HrefElement) ReferrerPolicy ¶ added in v0.18.0
func (e HrefElement) ReferrerPolicy() string
func (HrefElement) Rel ¶ added in v0.18.0
func (e HrefElement) Rel() string
func (HrefElement) RelList ¶ added in v0.18.0
func (h HrefElement) RelList() []string
func (HrefElement) Search ¶ added in v0.18.0
func (h HrefElement) Search() string
func (HrefElement) Target ¶ added in v0.18.0
func (e HrefElement) Target() string
func (HrefElement) Text ¶ added in v0.18.0
func (h HrefElement) Text() string
func (HrefElement) ToString ¶ added in v0.18.0
func (e HrefElement) ToString() string
func (HrefElement) Type ¶ added in v0.18.0
func (e HrefElement) Type() string
func (HrefElement) Username ¶ added in v0.18.0
func (h HrefElement) Username() string
type IFrameElement ¶ added in v0.18.0
type IFrameElement struct{ Element }
func (IFrameElement) Allowfullscreen ¶ added in v0.18.0
func (e IFrameElement) Allowfullscreen() bool
func (IFrameElement) Height ¶ added in v0.18.0
func (e IFrameElement) Height() string
func (IFrameElement) Name ¶ added in v0.18.0
func (e IFrameElement) Name() string
func (IFrameElement) ReferrerPolicy ¶ added in v0.18.0
func (e IFrameElement) ReferrerPolicy() string
func (IFrameElement) Src ¶ added in v0.18.0
func (e IFrameElement) Src() string
func (IFrameElement) Width ¶ added in v0.18.0
func (e IFrameElement) Width() string
type ImageElement ¶ added in v0.18.0
type ImageElement struct{ Element }
func (ImageElement) Alt ¶ added in v0.18.0
func (e ImageElement) Alt() string
func (ImageElement) CrossOrigin ¶ added in v0.18.0
func (e ImageElement) CrossOrigin() goja.Value
func (ImageElement) CurrentSrc ¶ added in v0.18.0
func (e ImageElement) CurrentSrc() string
func (ImageElement) Height ¶ added in v0.18.0
func (e ImageElement) Height() int
func (ImageElement) IsMap ¶ added in v0.18.0
func (e ImageElement) IsMap() bool
func (ImageElement) Name ¶ added in v0.18.0
func (e ImageElement) Name() string
func (ImageElement) ReferrerPolicy ¶ added in v0.18.0
func (e ImageElement) ReferrerPolicy() string
func (ImageElement) Sizes ¶ added in v0.18.0
func (e ImageElement) Sizes() string
func (ImageElement) Src ¶ added in v0.18.0
func (e ImageElement) Src() string
func (ImageElement) Srcset ¶ added in v0.18.0
func (e ImageElement) Srcset() string
func (ImageElement) UseMap ¶ added in v0.18.0
func (e ImageElement) UseMap() string
func (ImageElement) Width ¶ added in v0.18.0
func (e ImageElement) Width() int
type InputElement ¶ added in v0.18.0
type InputElement struct{ FormFieldElement }
func (InputElement) Accept ¶ added in v0.18.0
func (e InputElement) Accept() string
func (InputElement) AccessKey ¶ added in v0.18.0
func (e InputElement) AccessKey() string
func (InputElement) Alt ¶ added in v0.18.0
func (e InputElement) Alt() string
func (InputElement) Autocomplete ¶ added in v0.18.0
func (e InputElement) Autocomplete() string
func (InputElement) Autofocus ¶ added in v0.18.0
func (e InputElement) Autofocus() bool
func (InputElement) Checked ¶ added in v0.18.0
func (e InputElement) Checked() bool
func (InputElement) DefaultChecked ¶ added in v0.18.0
func (e InputElement) DefaultChecked() bool
func (InputElement) DefaultValue ¶ added in v0.18.0
func (e InputElement) DefaultValue() string
func (InputElement) DirName ¶ added in v0.18.0
func (e InputElement) DirName() string
func (InputElement) Disabled ¶ added in v0.18.0
func (e InputElement) Disabled() bool
func (InputElement) Height ¶ added in v0.18.0
func (e InputElement) Height() string
func (InputElement) Max ¶ added in v0.18.0
func (e InputElement) Max() string
func (InputElement) MaxLength ¶ added in v0.18.0
func (e InputElement) MaxLength() int
func (InputElement) Min ¶ added in v0.18.0
func (e InputElement) Min() string
func (InputElement) Multiple ¶ added in v0.18.0
func (e InputElement) Multiple() bool
func (InputElement) Name ¶ added in v0.18.0
func (e InputElement) Name() string
func (InputElement) Pattern ¶ added in v0.18.0
func (e InputElement) Pattern() string
func (InputElement) Placeholder ¶ added in v0.18.0
func (e InputElement) Placeholder() string
func (InputElement) Readonly ¶ added in v0.18.0
func (e InputElement) Readonly() bool
func (InputElement) Required ¶ added in v0.18.0
func (e InputElement) Required() bool
func (InputElement) Size ¶ added in v0.18.0
func (e InputElement) Size() int
func (InputElement) Src ¶ added in v0.18.0
func (e InputElement) Src() string
func (InputElement) Step ¶ added in v0.18.0
func (e InputElement) Step() string
func (InputElement) TabIndex ¶ added in v0.18.0
func (e InputElement) TabIndex() int
func (InputElement) Type ¶ added in v0.18.0
func (e InputElement) Type() string
func (InputElement) Value ¶ added in v0.18.0
func (e InputElement) Value() string
func (InputElement) Width ¶ added in v0.18.0
func (e InputElement) Width() string
type InsElement ¶ added in v0.18.0
type InsElement struct{ ModElement }
type KeygenElement ¶ added in v0.18.0
type KeygenElement struct{ Element }
func (KeygenElement) Autofocus ¶ added in v0.18.0
func (e KeygenElement) Autofocus() bool
func (KeygenElement) Challenge ¶ added in v0.18.0
func (e KeygenElement) Challenge() string
func (KeygenElement) Disabled ¶ added in v0.18.0
func (e KeygenElement) Disabled() bool
func (KeygenElement) Form ¶ added in v0.18.0
func (k KeygenElement) Form() goja.Value
func (KeygenElement) Keytype ¶ added in v0.18.0
func (e KeygenElement) Keytype() string
func (KeygenElement) Labels ¶ added in v0.18.0
func (k KeygenElement) Labels() []goja.Value
func (KeygenElement) Name ¶ added in v0.18.0
func (e KeygenElement) Name() string
func (KeygenElement) Type ¶ added in v0.18.0
func (e KeygenElement) Type() string
type LabelElement ¶ added in v0.18.0
type LabelElement struct{ Element }
func (LabelElement) Control ¶ added in v0.18.0
func (l LabelElement) Control() goja.Value
func (LabelElement) Form ¶ added in v0.18.0
func (l LabelElement) Form() goja.Value
func (LabelElement) HtmlFor ¶ added in v0.18.0
func (e LabelElement) HtmlFor() string
type LegendElement ¶ added in v0.18.0
type LegendElement struct{ Element }
func (LegendElement) AccessKey ¶ added in v0.18.0
func (e LegendElement) AccessKey() string
func (LegendElement) Form ¶ added in v0.18.0
func (l LegendElement) Form() goja.Value
type LinkElement ¶ added in v0.18.0
type LinkElement struct{ Element }
func (LinkElement) CrossOrigin ¶ added in v0.18.0
func (e LinkElement) CrossOrigin() goja.Value
func (LinkElement) Href ¶ added in v0.18.0
func (e LinkElement) Href() string
func (LinkElement) Hreflang ¶ added in v0.18.0
func (e LinkElement) Hreflang() string
func (LinkElement) Media ¶ added in v0.18.0
func (e LinkElement) Media() string
func (LinkElement) ReferrerPolicy ¶ added in v0.18.0
func (e LinkElement) ReferrerPolicy() string
func (LinkElement) Rel ¶ added in v0.18.0
func (e LinkElement) Rel() string
func (LinkElement) RelList ¶ added in v0.18.0
func (l LinkElement) RelList() []string
func (LinkElement) Target ¶ added in v0.18.0
func (e LinkElement) Target() string
func (LinkElement) Type ¶ added in v0.18.0
func (e LinkElement) Type() string
type MapElement ¶ added in v0.18.0
type MapElement struct{ Element }
func (MapElement) Areas ¶ added in v0.18.0
func (m MapElement) Areas() []goja.Value
func (MapElement) Images ¶ added in v0.18.0
func (m MapElement) Images() []goja.Value
func (MapElement) Name ¶ added in v0.18.0
func (e MapElement) Name() string
type MediaElement ¶ added in v0.18.0
type MediaElement struct{ Element }
func (MediaElement) Autoplay ¶ added in v0.18.0
func (e MediaElement) Autoplay() bool
func (MediaElement) Controls ¶ added in v0.18.0
func (e MediaElement) Controls() bool
func (MediaElement) CrossOrigin ¶ added in v0.18.0
func (e MediaElement) CrossOrigin() goja.Value
func (MediaElement) CurrentSrc ¶ added in v0.18.0
func (e MediaElement) CurrentSrc() string
func (MediaElement) DefaultMuted ¶ added in v0.18.0
func (e MediaElement) DefaultMuted() bool
func (MediaElement) Loop ¶ added in v0.18.0
func (e MediaElement) Loop() bool
func (MediaElement) MediaGroup ¶ added in v0.18.0
func (e MediaElement) MediaGroup() string
func (MediaElement) Muted ¶ added in v0.18.0
func (e MediaElement) Muted() bool
func (MediaElement) Preload ¶ added in v0.18.0
func (e MediaElement) Preload() string
func (MediaElement) Src ¶ added in v0.18.0
func (e MediaElement) Src() string
func (MediaElement) TextTracks ¶ added in v0.18.0
func (m MediaElement) TextTracks() []goja.Value
type MetaElement ¶ added in v0.18.0
type MetaElement struct{ Element }
func (MetaElement) Content ¶ added in v0.18.0
func (e MetaElement) Content() string
func (MetaElement) HttpEquiv ¶ added in v0.18.0
func (e MetaElement) HttpEquiv() string
func (MetaElement) Name ¶ added in v0.18.0
func (e MetaElement) Name() string
type MeterElement ¶ added in v0.18.0
type MeterElement struct{ Element }
func (MeterElement) High ¶ added in v0.18.0
func (e MeterElement) High() int
func (MeterElement) Labels ¶ added in v0.18.0
func (m MeterElement) Labels() []goja.Value
func (MeterElement) Low ¶ added in v0.18.0
func (e MeterElement) Low() int
func (MeterElement) Max ¶ added in v0.18.0
func (e MeterElement) Max() int
func (MeterElement) Min ¶ added in v0.18.0
func (e MeterElement) Min() int
func (MeterElement) Optimum ¶ added in v0.18.0
func (e MeterElement) Optimum() int
type ModElement ¶ added in v0.18.0
type ModElement struct{ Element }
func (ModElement) Cite ¶ added in v0.18.0
func (e ModElement) Cite() string
func (ModElement) Datetime ¶ added in v0.18.0
func (e ModElement) Datetime() string
type OListElement ¶ added in v0.18.0
type OListElement struct{ Element }
func (OListElement) Reversed ¶ added in v0.18.0
func (e OListElement) Reversed() bool
func (OListElement) Start ¶ added in v0.18.0
func (e OListElement) Start() int
func (OListElement) Type ¶ added in v0.18.0
func (e OListElement) Type() string
type ObjectElement ¶ added in v0.18.0
type ObjectElement struct{ Element }
func (ObjectElement) Data ¶ added in v0.18.0
func (e ObjectElement) Data() string
func (ObjectElement) Form ¶ added in v0.18.0
func (o ObjectElement) Form() goja.Value
func (ObjectElement) Height ¶ added in v0.18.0
func (e ObjectElement) Height() string
func (ObjectElement) Name ¶ added in v0.18.0
func (e ObjectElement) Name() string
func (ObjectElement) TabIndex ¶ added in v0.18.0
func (e ObjectElement) TabIndex() int
func (ObjectElement) Type ¶ added in v0.18.0
func (e ObjectElement) Type() string
func (ObjectElement) TypeMustMatch ¶ added in v0.18.0
func (e ObjectElement) TypeMustMatch() bool
func (ObjectElement) UseMap ¶ added in v0.18.0
func (e ObjectElement) UseMap() string
func (ObjectElement) Width ¶ added in v0.18.0
func (e ObjectElement) Width() string
type OptGroupElement ¶ added in v0.18.0
type OptGroupElement struct{ Element }
func (OptGroupElement) Disabled ¶ added in v0.18.0
func (e OptGroupElement) Disabled() bool
func (OptGroupElement) Label ¶ added in v0.18.0
func (e OptGroupElement) Label() string
type OptionElement ¶ added in v0.18.0
type OptionElement struct{ Element }
func (OptionElement) DefaultSelected ¶ added in v0.18.0
func (e OptionElement) DefaultSelected() bool
func (OptionElement) Disabled ¶ added in v0.18.0
func (o OptionElement) Disabled() bool
func (OptionElement) Form ¶ added in v0.18.0
func (o OptionElement) Form() goja.Value
func (OptionElement) Index ¶ added in v0.18.0
func (o OptionElement) Index() int
func (OptionElement) Label ¶ added in v0.18.0
func (o OptionElement) Label() string
func (OptionElement) Selected ¶ added in v0.18.0
func (e OptionElement) Selected() bool
func (OptionElement) Text ¶ added in v0.18.0
func (o OptionElement) Text() string
func (OptionElement) Value ¶ added in v0.18.0
func (o OptionElement) Value() string
type OutputElement ¶ added in v0.18.0
type OutputElement struct{ Element }
func (OutputElement) DefaultValue ¶ added in v0.18.0
func (o OutputElement) DefaultValue() string
func (OutputElement) Form ¶ added in v0.18.0
func (o OutputElement) Form() goja.Value
func (OutputElement) HtmlFor ¶ added in v0.18.0
func (e OutputElement) HtmlFor() string
func (OutputElement) Labels ¶ added in v0.18.0
func (o OutputElement) Labels() []goja.Value
func (OutputElement) Name ¶ added in v0.18.0
func (e OutputElement) Name() string
func (OutputElement) Type ¶ added in v0.18.0
func (e OutputElement) Type() string
func (OutputElement) Value ¶ added in v0.18.0
func (o OutputElement) Value() string
type ParamElement ¶ added in v0.18.0
type ParamElement struct{ Element }
func (ParamElement) Name ¶ added in v0.18.0
func (e ParamElement) Name() string
func (ParamElement) Value ¶ added in v0.18.0
func (e ParamElement) Value() string
type PreElement ¶ added in v0.18.0
type PreElement struct{ Element }
func (PreElement) Name ¶ added in v0.18.0
func (e PreElement) Name() string
func (PreElement) Value ¶ added in v0.18.0
func (e PreElement) Value() string
type ProgressElement ¶ added in v0.18.0
type ProgressElement struct{ Element }
func (ProgressElement) Labels ¶ added in v0.18.0
func (p ProgressElement) Labels() []goja.Value
func (ProgressElement) Max ¶ added in v0.18.0
func (p ProgressElement) Max() float64
func (ProgressElement) Position ¶ added in v0.18.0
func (p ProgressElement) Position() float64
func (ProgressElement) Value ¶ added in v0.18.0
func (p ProgressElement) Value() float64
type QuoteElement ¶ added in v0.18.0
type QuoteElement struct{ Element }
func (QuoteElement) Cite ¶ added in v0.18.0
func (e QuoteElement) Cite() string
type ScriptElement ¶ added in v0.18.0
type ScriptElement struct{ Element }
func (ScriptElement) Async ¶ added in v0.18.0
func (e ScriptElement) Async() bool
func (ScriptElement) Charset ¶ added in v0.18.0
func (e ScriptElement) Charset() string
func (ScriptElement) CrossOrigin ¶ added in v0.18.0
func (e ScriptElement) CrossOrigin() string
func (ScriptElement) Defer ¶ added in v0.18.0
func (e ScriptElement) Defer() bool
func (ScriptElement) NoModule ¶ added in v0.18.0
func (e ScriptElement) NoModule() bool
func (ScriptElement) Src ¶ added in v0.18.0
func (e ScriptElement) Src() string
func (ScriptElement) Text ¶ added in v0.18.0
func (s ScriptElement) Text() string
func (ScriptElement) Type ¶ added in v0.18.0
func (e ScriptElement) Type() string
type SelectElement ¶ added in v0.18.0
type SelectElement struct{ Element }
func (SelectElement) Autofocus ¶ added in v0.18.0
func (e SelectElement) Autofocus() bool
func (SelectElement) Disabled ¶ added in v0.18.0
func (e SelectElement) Disabled() bool
func (SelectElement) Form ¶ added in v0.18.0
func (s SelectElement) Form() goja.Value
func (SelectElement) Labels ¶ added in v0.18.0
func (s SelectElement) Labels() []goja.Value
func (SelectElement) Length ¶ added in v0.18.0
func (s SelectElement) Length() int
func (SelectElement) Multiple ¶ added in v0.18.0
func (e SelectElement) Multiple() bool
func (SelectElement) Name ¶ added in v0.18.0
func (e SelectElement) Name() string
func (SelectElement) Options ¶ added in v0.18.0
func (s SelectElement) Options() []goja.Value
func (SelectElement) Required ¶ added in v0.18.0
func (e SelectElement) Required() bool
func (SelectElement) SelectedIndex ¶ added in v0.18.0
func (s SelectElement) SelectedIndex() int
func (SelectElement) SelectedOptions ¶ added in v0.18.0
func (s SelectElement) SelectedOptions() []goja.Value
func (SelectElement) Size ¶ added in v0.18.0
func (s SelectElement) Size() int
func (SelectElement) TabIndex ¶ added in v0.18.0
func (e SelectElement) TabIndex() int
func (SelectElement) Type ¶ added in v0.18.0
func (s SelectElement) Type() string
func (SelectElement) Value ¶ added in v0.18.0
func (s SelectElement) Value() string
type Selection ¶
type Selection struct { URL string `json:"url"` // contains filtered or unexported fields }
func (Selection) Data ¶ added in v0.18.0
When 0 arguments: Read all data from attributes beginning with "data-". When 1 argument: Append argument to "data-" then find for a matching attribute
func (Selection) ParentsUntil ¶ added in v0.18.0
func (Selection) PrevUntil ¶ added in v0.18.0
prevUntil, nextUntil and parentsUntil support two arguments with mutable type. 1st argument is the selector. Either a selector string, a Selection object, or nil 2nd argument is the filter. Either a selector string or nil/undefined
func (Selection) SerializeArray ¶ added in v0.19.0
nolint: goconst
func (Selection) SerializeObject ¶ added in v0.19.0
type SourceElement ¶ added in v0.18.0
type SourceElement struct{ Element }
func (SourceElement) KeySystem ¶ added in v0.18.0
func (e SourceElement) KeySystem() string
func (SourceElement) Media ¶ added in v0.18.0
func (e SourceElement) Media() string
func (SourceElement) Sizes ¶ added in v0.18.0
func (e SourceElement) Sizes() string
func (SourceElement) Src ¶ added in v0.18.0
func (e SourceElement) Src() string
func (SourceElement) Srcset ¶ added in v0.18.0
func (e SourceElement) Srcset() string
func (SourceElement) Type ¶ added in v0.18.0
func (e SourceElement) Type() string
type StyleElement ¶ added in v0.18.0
type StyleElement struct{ Element }
func (StyleElement) Media ¶ added in v0.18.0
func (e StyleElement) Media() string
func (StyleElement) Type ¶ added in v0.18.0
func (s StyleElement) Type() string
type TableBodyElement ¶ added in v0.18.0
type TableBodyElement struct{ TableSectionElement }
type TableCellElement ¶ added in v0.18.0
type TableCellElement struct{ Element }
func (TableCellElement) CellIndex ¶ added in v0.18.0
func (t TableCellElement) CellIndex() int
func (TableCellElement) ColSpan ¶ added in v0.18.0
func (e TableCellElement) ColSpan() int
func (TableCellElement) Headers ¶ added in v0.18.0
func (e TableCellElement) Headers() string
func (TableCellElement) RowSpan ¶ added in v0.18.0
func (e TableCellElement) RowSpan() int
type TableColElement ¶ added in v0.18.0
type TableColElement struct{ Element }
func (TableColElement) Span ¶ added in v0.18.0
func (t TableColElement) Span() int
type TableDataCellElement ¶ added in v0.18.0
type TableDataCellElement struct{ TableCellElement }
type TableElement ¶ added in v0.18.0
type TableElement struct{ Element }
func (TableElement) Caption ¶ added in v0.18.0
func (t TableElement) Caption() goja.Value
func (TableElement) Rows ¶ added in v0.18.0
func (t TableElement) Rows() []goja.Value
func (TableElement) Sortable ¶ added in v0.18.0
func (e TableElement) Sortable() bool
func (TableElement) TBodies ¶ added in v0.18.0
func (t TableElement) TBodies() []goja.Value
func (TableElement) TFoot ¶ added in v0.18.0
func (t TableElement) TFoot() goja.Value
func (TableElement) THead ¶ added in v0.18.0
func (t TableElement) THead() goja.Value
type TableFootElement ¶ added in v0.18.0
type TableFootElement struct{ TableSectionElement }
type TableHeadElement ¶ added in v0.18.0
type TableHeadElement struct{ TableSectionElement }
type TableHeaderCellElement ¶ added in v0.18.0
type TableHeaderCellElement struct{ TableCellElement }
func (TableHeaderCellElement) Abbr ¶ added in v0.18.0
func (e TableHeaderCellElement) Abbr() string
func (TableHeaderCellElement) Scope ¶ added in v0.18.0
func (e TableHeaderCellElement) Scope() string
func (TableHeaderCellElement) Sorted ¶ added in v0.18.0
func (e TableHeaderCellElement) Sorted() bool
type TableRowElement ¶ added in v0.18.0
type TableRowElement struct{ Element }
func (TableRowElement) Cells ¶ added in v0.18.0
func (t TableRowElement) Cells() []goja.Value
func (TableRowElement) RowIndex ¶ added in v0.18.0
func (t TableRowElement) RowIndex() int
func (TableRowElement) SectionRowIndex ¶ added in v0.18.0
func (t TableRowElement) SectionRowIndex() int
type TableSectionElement ¶ added in v0.18.0
type TableSectionElement struct{ Element }
func (TableSectionElement) Rows ¶ added in v0.18.0
func (t TableSectionElement) Rows() []goja.Value
type TextAreaElement ¶ added in v0.18.0
type TextAreaElement struct{ Element }
func (TextAreaElement) AccessKey ¶ added in v0.18.0
func (e TextAreaElement) AccessKey() string
func (TextAreaElement) Autocapitalize ¶ added in v0.18.0
func (e TextAreaElement) Autocapitalize() string
func (TextAreaElement) Autocomplete ¶ added in v0.18.0
func (e TextAreaElement) Autocomplete() string
func (TextAreaElement) Cols ¶ added in v0.18.0
func (e TextAreaElement) Cols() int
func (TextAreaElement) DefaultValue ¶ added in v0.18.0
func (e TextAreaElement) DefaultValue() string
func (TextAreaElement) Form ¶ added in v0.18.0
func (t TextAreaElement) Form() goja.Value
func (TextAreaElement) Labels ¶ added in v0.18.0
func (t TextAreaElement) Labels() []goja.Value
func (TextAreaElement) Length ¶ added in v0.18.0
func (t TextAreaElement) Length() int
func (TextAreaElement) MaxLength ¶ added in v0.18.0
func (e TextAreaElement) MaxLength() int
func (TextAreaElement) Placeholder ¶ added in v0.18.0
func (e TextAreaElement) Placeholder() string
func (TextAreaElement) ReadOnly ¶ added in v0.18.0
func (e TextAreaElement) ReadOnly() bool
func (TextAreaElement) Required ¶ added in v0.18.0
func (e TextAreaElement) Required() bool
func (TextAreaElement) Rows ¶ added in v0.18.0
func (e TextAreaElement) Rows() int
func (TextAreaElement) TabIndex ¶ added in v0.18.0
func (e TextAreaElement) TabIndex() int
func (TextAreaElement) Type ¶ added in v0.18.0
func (e TextAreaElement) Type() string
func (TextAreaElement) Value ¶ added in v0.18.0
func (e TextAreaElement) Value() string
func (TextAreaElement) Wrap ¶ added in v0.18.0
func (e TextAreaElement) Wrap() string
type TimeElement ¶ added in v0.18.0
type TimeElement struct{ Element }
func (TimeElement) Datetime ¶ added in v0.18.0
func (e TimeElement) Datetime() string
type TitleElement ¶ added in v0.18.0
type TitleElement struct{ Element }
func (TitleElement) Text ¶ added in v0.18.0
func (t TitleElement) Text() string
type TrackElement ¶ added in v0.18.0
type TrackElement struct{ Element }
func (TrackElement) Default ¶ added in v0.18.0
func (e TrackElement) Default() bool
func (TrackElement) Kind ¶ added in v0.18.0
func (e TrackElement) Kind() string
func (TrackElement) Label ¶ added in v0.18.0
func (e TrackElement) Label() string
func (TrackElement) Src ¶ added in v0.18.0
func (e TrackElement) Src() string
func (TrackElement) Srclang ¶ added in v0.18.0
func (e TrackElement) Srclang() string
type UListElement ¶ added in v0.18.0
type UListElement struct{ Element }
func (UListElement) Type ¶ added in v0.18.0
func (e UListElement) Type() string
type VideoElement ¶ added in v0.18.0
type VideoElement struct{ MediaElement }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.