|
|
// Code generated DO NOT EDIT
|
|
|
// htmlfieldsetelement.go
|
|
|
package dom
|
|
|
|
|
|
import "syscall/js"
|
|
|
|
|
|
type HTMLFieldSetElementIFace interface {
|
|
|
GetAccessKey() string
|
|
|
SetAccessKey(string)
|
|
|
GetAccessKeyLabel() string
|
|
|
AddEventListener(args ...interface{})
|
|
|
AppendChild(args ...interface{}) Node
|
|
|
AttachShadow(args ...interface{}) ShadowRoot
|
|
|
GetAttributes() NamedNodeMap
|
|
|
GetAutocapitalize() string
|
|
|
SetAutocapitalize(string)
|
|
|
GetBaseURI() string
|
|
|
CheckValidity(args ...interface{}) bool
|
|
|
GetChildNodes() NodeList
|
|
|
GetClassList() DOMTokenList
|
|
|
GetClassName() string
|
|
|
SetClassName(string)
|
|
|
Click(args ...interface{})
|
|
|
CloneNode(args ...interface{}) Node
|
|
|
Closest(args ...interface{}) Element
|
|
|
CompareDocumentPosition(args ...interface{}) int
|
|
|
Contains(args ...interface{}) bool
|
|
|
GetDir() string
|
|
|
SetDir(string)
|
|
|
GetDisabled() bool
|
|
|
SetDisabled(bool)
|
|
|
DispatchEvent(args ...interface{}) bool
|
|
|
GetDraggable() bool
|
|
|
SetDraggable(bool)
|
|
|
GetElements() HTMLCollection
|
|
|
GetFirstChild() Node
|
|
|
GetForm() HTMLFormElement
|
|
|
GetAttribute(args ...interface{}) string
|
|
|
GetAttributeNS(args ...interface{}) string
|
|
|
GetAttributeNames(args ...interface{})
|
|
|
GetAttributeNode(args ...interface{}) Attr
|
|
|
GetAttributeNodeNS(args ...interface{}) Attr
|
|
|
GetElementsByClassName(args ...interface{}) HTMLCollection
|
|
|
GetElementsByTagName(args ...interface{}) HTMLCollection
|
|
|
GetElementsByTagNameNS(args ...interface{}) HTMLCollection
|
|
|
GetRootNode(args ...interface{}) Node
|
|
|
HasAttribute(args ...interface{}) bool
|
|
|
HasAttributeNS(args ...interface{}) bool
|
|
|
HasAttributes(args ...interface{}) bool
|
|
|
HasChildNodes(args ...interface{}) bool
|
|
|
GetHidden() bool
|
|
|
SetHidden(bool)
|
|
|
GetId() string
|
|
|
SetId(string)
|
|
|
GetInnerText() string
|
|
|
SetInnerText(string)
|
|
|
InsertAdjacentElement(args ...interface{}) Element
|
|
|
InsertAdjacentText(args ...interface{})
|
|
|
InsertBefore(args ...interface{}) Node
|
|
|
GetIsConnected() bool
|
|
|
IsDefaultNamespace(args ...interface{}) bool
|
|
|
IsEqualNode(args ...interface{}) bool
|
|
|
IsSameNode(args ...interface{}) bool
|
|
|
GetLang() string
|
|
|
SetLang(string)
|
|
|
GetLastChild() Node
|
|
|
GetLocalName() string
|
|
|
LookupNamespaceURI(args ...interface{}) string
|
|
|
LookupPrefix(args ...interface{}) string
|
|
|
Matches(args ...interface{}) bool
|
|
|
GetName() string
|
|
|
SetName(string)
|
|
|
GetNamespaceURI() string
|
|
|
GetNextSibling() Node
|
|
|
GetNodeName() string
|
|
|
GetNodeType() int
|
|
|
GetNodeValue() string
|
|
|
SetNodeValue(string)
|
|
|
Normalize(args ...interface{})
|
|
|
GetOwnerDocument() Document
|
|
|
GetParentElement() Element
|
|
|
GetParentNode() Node
|
|
|
GetPrefix() string
|
|
|
GetPreviousSibling() Node
|
|
|
RemoveAttribute(args ...interface{})
|
|
|
RemoveAttributeNS(args ...interface{})
|
|
|
RemoveAttributeNode(args ...interface{}) Attr
|
|
|
RemoveChild(args ...interface{}) Node
|
|
|
RemoveEventListener(args ...interface{})
|
|
|
ReplaceChild(args ...interface{}) Node
|
|
|
ReportValidity(args ...interface{}) bool
|
|
|
SetAttribute(args ...interface{})
|
|
|
SetAttributeNS(args ...interface{})
|
|
|
SetAttributeNode(args ...interface{}) Attr
|
|
|
SetAttributeNodeNS(args ...interface{}) Attr
|
|
|
SetCustomValidity(args ...interface{})
|
|
|
GetShadowRoot() ShadowRoot
|
|
|
GetSlot() string
|
|
|
SetSlot(string)
|
|
|
GetSpellcheck() bool
|
|
|
SetSpellcheck(bool)
|
|
|
GetTagName() string
|
|
|
GetTextContent() string
|
|
|
SetTextContent(string)
|
|
|
GetTitle() string
|
|
|
SetTitle(string)
|
|
|
ToggleAttribute(args ...interface{}) bool
|
|
|
GetTranslate() bool
|
|
|
SetTranslate(bool)
|
|
|
GetType() string
|
|
|
GetValidationMessage() string
|
|
|
GetValidity() ValidityState
|
|
|
WebkitMatchesSelector(args ...interface{}) bool
|
|
|
GetWillValidate() bool
|
|
|
}
|
|
|
type HTMLFieldSetElement struct {
|
|
|
Value
|
|
|
HTMLElement
|
|
|
Element
|
|
|
Node
|
|
|
EventTarget
|
|
|
}
|
|
|
|
|
|
func jsValueToHTMLFieldSetElement(val js.Value) HTMLFieldSetElement {
|
|
|
return HTMLFieldSetElement{Value: Value{Value: val}}
|
|
|
}
|
|
|
func (v Value) AsHTMLFieldSetElement() HTMLFieldSetElement { return HTMLFieldSetElement{Value: v} }
|
|
|
func (h HTMLFieldSetElement) CheckValidity(args ...interface{}) bool {
|
|
|
val := h.Call("checkValidity", args...)
|
|
|
return val.Bool()
|
|
|
}
|
|
|
func (h HTMLFieldSetElement) GetDisabled() bool {
|
|
|
val := h.Get("disabled")
|
|
|
return val.Bool()
|
|
|
}
|
|
|
func (h HTMLFieldSetElement) SetDisabled(val bool) {
|
|
|
h.Set("disabled", val)
|
|
|
}
|
|
|
func (h HTMLFieldSetElement) GetElements() HTMLCollection {
|
|
|
val := h.Get("elements")
|
|
|
return jsValueToHTMLCollection(val.JSValue())
|
|
|
}
|
|
|
func (h HTMLFieldSetElement) GetForm() HTMLFormElement {
|
|
|
val := h.Get("form")
|
|
|
return jsValueToHTMLFormElement(val.JSValue())
|
|
|
}
|
|
|
func (h HTMLFieldSetElement) GetName() string {
|
|
|
val := h.Get("name")
|
|
|
return val.String()
|
|
|
}
|
|
|
func (h HTMLFieldSetElement) SetName(val string) {
|
|
|
h.Set("name", val)
|
|
|
}
|
|
|
func (h HTMLFieldSetElement) ReportValidity(args ...interface{}) bool {
|
|
|
val := h.Call("reportValidity", args...)
|
|
|
return val.Bool()
|
|
|
}
|
|
|
func (h HTMLFieldSetElement) SetCustomValidity(args ...interface{}) {
|
|
|
h.Call("setCustomValidity", args...)
|
|
|
}
|
|
|
func (h HTMLFieldSetElement) GetType() string {
|
|
|
val := h.Get("type")
|
|
|
return val.String()
|
|
|
}
|
|
|
func (h HTMLFieldSetElement) GetValidationMessage() string {
|
|
|
val := h.Get("validationMessage")
|
|
|
return val.String()
|
|
|
}
|
|
|
func (h HTMLFieldSetElement) GetValidity() ValidityState {
|
|
|
val := h.Get("validity")
|
|
|
return jsValueToValidityState(val.JSValue())
|
|
|
}
|
|
|
func (h HTMLFieldSetElement) GetWillValidate() bool {
|
|
|
val := h.Get("willValidate")
|
|
|
return val.Bool()
|
|
|
}
|