Versions in this module Expand all Collapse all v0 v0.0.3 Sep 22, 2022 Changes in this version + const AnchorTagName + const AreaTagName + const AudioTagName + const BaseTagName + const ButtonTagName + const CanvasTagName + const CommentNode + const DataListTagName + const DataTagName + const DelTagName + const DoctypeNode + const DocumentNode + const ElementNode + const EmbedTagName + const FieldSetTagName + const FormTagName + const IFrameTagName + const ImageTagName + const InputTagName + const InsTagName + const KeygenTagName + const LabelTagName + const LegendTagName + const LiTagName + const LinkTagName + const MapTagName + const MetaTagName + const MeterTagName + const OListTagName + const ObjectTagName + const OptGroupTagName + const OptionTagName + const OutputTagName + const ParamTagName + const PreTagName + const ProgressTagName + const QuoteTagName + const ScriptTagName + const SelectTagName + const SourceTagName + const StyleTagName + const TableBodyTagName + const TableColTagName + const TableDataCellTagName + const TableFootTagName + const TableHeadTagName + const TableHeaderCellTagName + const TableRowTagName + const TableTagName + const TextAreaTagName + const TextNode + const TimeTagName + const TitleTagName + const TrackTagName + const UListTagName + const VideoTagName + type AnchorElement struct + type AreaElement struct + type Attribute struct + Name string + OwnerElement *Element + Value string + func (a Attribute) LocalName() string + func (a Attribute) NamespaceURI() string + func (a Attribute) Prefix() string + type AudioElement struct + type BaseElement struct + func (e BaseElement) Href() string + func (e BaseElement) Target() string + type ButtonElement struct + func (b ButtonElement) Value() string + func (e ButtonElement) AccessKey() string + func (e ButtonElement) Autofocus() bool + func (e ButtonElement) Disabled() bool + func (e ButtonElement) TabIndex() int + func (e ButtonElement) Type() string + type CanvasElement struct + func (c CanvasElement) Height() int + func (c CanvasElement) Width() int + type DataElement struct + func (e DataElement) Value() string + type DataListElement struct + func (d DataListElement) Options() []goja.Value + type DelElement struct + type Element struct + 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 struct + func (e EmbedElement) Height() string + func (e EmbedElement) Src() string + func (e EmbedElement) Type() string + func (e EmbedElement) Width() string + type FieldSetElement struct + func (e FieldSetElement) Disabled() bool + func (e FieldSetElement) Name() string + func (f FieldSetElement) Elements() []goja.Value + func (f FieldSetElement) Form() goja.Value + func (f FieldSetElement) Type() string + func (f FieldSetElement) Validity() goja.Value + type FormElement struct + func (e FormElement) AcceptCharset() string + func (e FormElement) Action() string + func (e FormElement) Autocomplete() string + func (e FormElement) Encoding() string + func (e FormElement) Enctype() string + func (e FormElement) Name() string + func (e FormElement) NoValidate() bool + func (e FormElement) Target() string + func (f FormElement) Elements() []goja.Value + func (f FormElement) Length() int + func (f FormElement) Method() string + type FormFieldElement struct + 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 struct + Name string + Value goja.Value + type HrefElement struct + func (e HrefElement) AccessKey() string + func (e HrefElement) Download() string + func (e HrefElement) Href() string + func (e HrefElement) HrefLang() string + func (e HrefElement) ReferrerPolicy() string + func (e HrefElement) Rel() string + func (e HrefElement) Target() string + func (e HrefElement) ToString() string + func (e HrefElement) Type() string + func (h HrefElement) Hash() string + func (h HrefElement) Host() string + func (h HrefElement) Hostname() 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 (h HrefElement) RelList() []string + func (h HrefElement) Search() string + func (h HrefElement) Text() string + func (h HrefElement) Username() string + type IFrameElement struct + func (e IFrameElement) Allowfullscreen() bool + func (e IFrameElement) Height() string + func (e IFrameElement) Name() string + func (e IFrameElement) ReferrerPolicy() string + func (e IFrameElement) Src() string + func (e IFrameElement) Width() string + type ImageElement struct + 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 struct + 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 (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 + func (i InputElement) List() goja.Value + type InsElement struct + type KeygenElement struct + func (e KeygenElement) Autofocus() bool + func (e KeygenElement) Challenge() string + func (e KeygenElement) Disabled() bool + func (e KeygenElement) Keytype() string + func (e KeygenElement) Name() string + func (e KeygenElement) Type() string + func (k KeygenElement) Form() goja.Value + func (k KeygenElement) Labels() []goja.Value + type LabelElement struct + func (e LabelElement) HtmlFor() string + func (l LabelElement) Control() goja.Value + func (l LabelElement) Form() goja.Value + type LegendElement struct + func (e LegendElement) AccessKey() string + func (l LegendElement) Form() goja.Value + type LiElement struct + func (e LiElement) Type() string + func (e LiElement) Value() int + type LinkElement struct + 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 (e LinkElement) Target() string + func (e LinkElement) Type() string + func (l LinkElement) RelList() []string + type MapElement struct + func (e MapElement) Name() string + func (m MapElement) Areas() []goja.Value + func (m MapElement) Images() []goja.Value + type MediaElement struct + 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 struct + func (e MetaElement) Content() string + func (e MetaElement) HttpEquiv() string + func (e MetaElement) Name() string + type MeterElement struct + func (e MeterElement) High() int + func (e MeterElement) Low() int + func (e MeterElement) Max() int + func (e MeterElement) Min() int + func (e MeterElement) Optimum() int + func (m MeterElement) Labels() []goja.Value + type ModElement struct + func (e ModElement) Cite() string + func (e ModElement) Datetime() string + type ModuleInstance struct + func (mi *ModuleInstance) Exports() modules.Exports + type OListElement struct + func (e OListElement) Reversed() bool + func (e OListElement) Start() int + func (e OListElement) Type() string + type ObjectElement struct + func (e ObjectElement) Data() string + 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 + func (o ObjectElement) Form() goja.Value + type OptGroupElement struct + func (e OptGroupElement) Disabled() bool + func (e OptGroupElement) Label() string + type OptionElement struct + func (e OptionElement) DefaultSelected() bool + func (e OptionElement) Selected() bool + func (o OptionElement) Disabled() bool + func (o OptionElement) Form() goja.Value + func (o OptionElement) Index() int + func (o OptionElement) Label() string + func (o OptionElement) Text() string + func (o OptionElement) Value() string + type OutputElement struct + func (e OutputElement) HtmlFor() string + func (e OutputElement) Name() string + func (e OutputElement) Type() string + func (o OutputElement) DefaultValue() string + func (o OutputElement) Form() goja.Value + func (o OutputElement) Labels() []goja.Value + func (o OutputElement) Value() string + type ParamElement struct + func (e ParamElement) Name() string + func (e ParamElement) Value() string + type PreElement struct + func (e PreElement) Name() string + func (e PreElement) Value() string + type ProgressElement struct + func (p ProgressElement) Labels() []goja.Value + func (p ProgressElement) Max() float64 + func (p ProgressElement) Position() float64 + func (p ProgressElement) Value() float64 + type QuoteElement struct + func (e QuoteElement) Cite() string + type RootModule struct + func New() *RootModule + func (r *RootModule) NewModuleInstance(vu modules.VU) modules.Instance + type ScriptElement struct + 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 (e ScriptElement) Type() string + func (s ScriptElement) Text() string + type SelectElement struct + func (e SelectElement) Autofocus() bool + func (e SelectElement) Disabled() bool + func (e SelectElement) Multiple() bool + func (e SelectElement) Name() string + func (e SelectElement) Required() bool + func (e SelectElement) TabIndex() int + func (s SelectElement) Form() goja.Value + func (s SelectElement) Labels() []goja.Value + func (s SelectElement) Length() int + func (s SelectElement) Options() []goja.Value + func (s SelectElement) SelectedIndex() int + func (s SelectElement) SelectedOptions() []goja.Value + func (s SelectElement) Size() int + func (s SelectElement) Type() string + func (s SelectElement) Value() string + type Selection struct + URL string + func ParseHTML(rt *goja.Runtime, src string) (Selection, error) + 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) []goja.Value + 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 struct + func (e SourceElement) KeySystem() string + func (e SourceElement) Media() string + func (e SourceElement) Sizes() string + func (e SourceElement) Src() string + func (e SourceElement) Srcset() string + func (e SourceElement) Type() string + type StyleElement struct + func (e StyleElement) Media() string + func (s StyleElement) Type() string + type TableBodyElement struct + type TableCellElement struct + func (e TableCellElement) ColSpan() int + func (e TableCellElement) Headers() string + func (e TableCellElement) RowSpan() int + func (t TableCellElement) CellIndex() int + type TableColElement struct + func (t TableColElement) Span() int + type TableDataCellElement struct + type TableElement struct + func (e TableElement) Sortable() bool + func (t TableElement) Caption() goja.Value + func (t TableElement) Rows() []goja.Value + func (t TableElement) TBodies() []goja.Value + func (t TableElement) TFoot() goja.Value + func (t TableElement) THead() goja.Value + type TableFootElement struct + type TableHeadElement struct + type TableHeaderCellElement struct + func (e TableHeaderCellElement) Abbr() string + func (e TableHeaderCellElement) Scope() string + func (e TableHeaderCellElement) Sorted() bool + type TableRowElement struct + func (t TableRowElement) Cells() []goja.Value + func (t TableRowElement) RowIndex() int + func (t TableRowElement) SectionRowIndex() int + type TableSectionElement struct + func (t TableSectionElement) Rows() []goja.Value + type TextAreaElement struct + 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 (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 + func (t TextAreaElement) Form() goja.Value + func (t TextAreaElement) Labels() []goja.Value + func (t TextAreaElement) Length() int + type TimeElement struct + func (e TimeElement) Datetime() string + type TitleElement struct + func (t TitleElement) Text() string + type TrackElement struct + func (e TrackElement) Default() bool + func (e TrackElement) Kind() string + func (e TrackElement) Label() string + func (e TrackElement) Src() string + func (e TrackElement) Srclang() string + type UListElement struct + func (e UListElement) Type() string + type VideoElement struct