Web API package for use when compling Go to WASM
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

494 lines
15 KiB

// Code generated DO NOT EDIT
// htmldialogelement.go
package dom
import "syscall/js"
type HTMLDialogElementIFace 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
GetChildNodes() NodeList
GetClassList() DOMTokenList
GetClassName() string
SetClassName(string)
Click(args ...interface{})
CloneNode(args ...interface{}) Node
Close(args ...interface{})
Closest(args ...interface{}) Element
CompareDocumentPosition(args ...interface{}) int
Contains(args ...interface{}) bool
GetDir() string
SetDir(string)
DispatchEvent(args ...interface{}) bool
GetDraggable() bool
SetDraggable(bool)
GetFirstChild() Node
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
GetNamespaceURI() string
GetNextSibling() Node
GetNodeName() string
GetNodeType() int
GetNodeValue() string
SetNodeValue(string)
Normalize(args ...interface{})
GetOpen() bool
SetOpen(bool)
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
GetReturnValue() string
SetReturnValue(string)
SetAttribute(args ...interface{})
SetAttributeNS(args ...interface{})
SetAttributeNode(args ...interface{}) Attr
SetAttributeNodeNS(args ...interface{}) Attr
GetShadowRoot() ShadowRoot
Show(args ...interface{})
ShowModal(args ...interface{})
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)
WebkitMatchesSelector(args ...interface{}) bool
}
type HTMLDialogElement struct {
Value
}
func JSValueToHTMLDialogElement(val js.Value) HTMLDialogElement {
return HTMLDialogElement{Value: JSValueToValue(val)}
}
func (v Value) AsHTMLDialogElement() HTMLDialogElement { return HTMLDialogElement{Value: v} }
func NewHTMLDialogElement(args ...interface{}) HTMLDialogElement {
return HTMLDialogElement{Value: JSValueToValue(js.Global().Get("HTMLDialogElement").New(args...))}
}
func (h HTMLDialogElement) GetAccessKey() string {
val := h.Get("accessKey")
return val.String()
}
func (h HTMLDialogElement) SetAccessKey(val string) {
h.Set("accessKey", val)
}
func (h HTMLDialogElement) GetAccessKeyLabel() string {
val := h.Get("accessKeyLabel")
return val.String()
}
func (h HTMLDialogElement) AddEventListener(args ...interface{}) {
h.Call("addEventListener", args...)
}
func (h HTMLDialogElement) AppendChild(args ...interface{}) Node {
val := h.Call("appendChild", args...)
return JSValueToNode(val.JSValue())
}
func (h HTMLDialogElement) AttachShadow(args ...interface{}) ShadowRoot {
val := h.Call("attachShadow", args...)
return JSValueToShadowRoot(val.JSValue())
}
func (h HTMLDialogElement) GetAttributes() NamedNodeMap {
val := h.Get("attributes")
return JSValueToNamedNodeMap(val.JSValue())
}
func (h HTMLDialogElement) GetAutocapitalize() string {
val := h.Get("autocapitalize")
return val.String()
}
func (h HTMLDialogElement) SetAutocapitalize(val string) {
h.Set("autocapitalize", val)
}
func (h HTMLDialogElement) GetBaseURI() string {
val := h.Get("baseURI")
return val.String()
}
func (h HTMLDialogElement) GetChildNodes() NodeList {
val := h.Get("childNodes")
return JSValueToNodeList(val.JSValue())
}
func (h HTMLDialogElement) GetClassList() DOMTokenList {
val := h.Get("classList")
return JSValueToDOMTokenList(val.JSValue())
}
func (h HTMLDialogElement) GetClassName() string {
val := h.Get("className")
return val.String()
}
func (h HTMLDialogElement) SetClassName(val string) {
h.Set("className", val)
}
func (h HTMLDialogElement) Click(args ...interface{}) {
h.Call("click", args...)
}
func (h HTMLDialogElement) CloneNode(args ...interface{}) Node {
val := h.Call("cloneNode", args...)
return JSValueToNode(val.JSValue())
}
func (h HTMLDialogElement) Close(args ...interface{}) {
h.Call("close", args...)
}
func (h HTMLDialogElement) Closest(args ...interface{}) Element {
val := h.Call("closest", args...)
return JSValueToElement(val.JSValue())
}
func (h HTMLDialogElement) CompareDocumentPosition(args ...interface{}) int {
val := h.Call("compareDocumentPosition", args...)
return val.Int()
}
func (h HTMLDialogElement) Contains(args ...interface{}) bool {
val := h.Call("contains", args...)
return val.Bool()
}
func (h HTMLDialogElement) GetDir() string {
val := h.Get("dir")
return val.String()
}
func (h HTMLDialogElement) SetDir(val string) {
h.Set("dir", val)
}
func (h HTMLDialogElement) DispatchEvent(args ...interface{}) bool {
val := h.Call("dispatchEvent", args...)
return val.Bool()
}
func (h HTMLDialogElement) GetDraggable() bool {
val := h.Get("draggable")
return val.Bool()
}
func (h HTMLDialogElement) SetDraggable(val bool) {
h.Set("draggable", val)
}
func (h HTMLDialogElement) GetFirstChild() Node {
val := h.Get("firstChild")
return JSValueToNode(val.JSValue())
}
func (h HTMLDialogElement) GetAttribute(args ...interface{}) string {
val := h.Call("getAttribute", args...)
return val.String()
}
func (h HTMLDialogElement) GetAttributeNS(args ...interface{}) string {
val := h.Call("getAttributeNS", args...)
return val.String()
}
func (h HTMLDialogElement) GetAttributeNames(args ...interface{}) {
h.Call("getAttributeNames", args...)
}
func (h HTMLDialogElement) GetAttributeNode(args ...interface{}) Attr {
val := h.Call("getAttributeNode", args...)
return JSValueToAttr(val.JSValue())
}
func (h HTMLDialogElement) GetAttributeNodeNS(args ...interface{}) Attr {
val := h.Call("getAttributeNodeNS", args...)
return JSValueToAttr(val.JSValue())
}
func (h HTMLDialogElement) GetElementsByClassName(args ...interface{}) HTMLCollection {
val := h.Call("getElementsByClassName", args...)
return JSValueToHTMLCollection(val.JSValue())
}
func (h HTMLDialogElement) GetElementsByTagName(args ...interface{}) HTMLCollection {
val := h.Call("getElementsByTagName", args...)
return JSValueToHTMLCollection(val.JSValue())
}
func (h HTMLDialogElement) GetElementsByTagNameNS(args ...interface{}) HTMLCollection {
val := h.Call("getElementsByTagNameNS", args...)
return JSValueToHTMLCollection(val.JSValue())
}
func (h HTMLDialogElement) GetRootNode(args ...interface{}) Node {
val := h.Call("getRootNode", args...)
return JSValueToNode(val.JSValue())
}
func (h HTMLDialogElement) HasAttribute(args ...interface{}) bool {
val := h.Call("hasAttribute", args...)
return val.Bool()
}
func (h HTMLDialogElement) HasAttributeNS(args ...interface{}) bool {
val := h.Call("hasAttributeNS", args...)
return val.Bool()
}
func (h HTMLDialogElement) HasAttributes(args ...interface{}) bool {
val := h.Call("hasAttributes", args...)
return val.Bool()
}
func (h HTMLDialogElement) HasChildNodes(args ...interface{}) bool {
val := h.Call("hasChildNodes", args...)
return val.Bool()
}
func (h HTMLDialogElement) GetHidden() bool {
val := h.Get("hidden")
return val.Bool()
}
func (h HTMLDialogElement) SetHidden(val bool) {
h.Set("hidden", val)
}
func (h HTMLDialogElement) GetId() string {
val := h.Get("id")
return val.String()
}
func (h HTMLDialogElement) SetId(val string) {
h.Set("id", val)
}
func (h HTMLDialogElement) GetInnerText() string {
val := h.Get("innerText")
return val.String()
}
func (h HTMLDialogElement) SetInnerText(val string) {
h.Set("innerText", val)
}
func (h HTMLDialogElement) InsertAdjacentElement(args ...interface{}) Element {
val := h.Call("insertAdjacentElement", args...)
return JSValueToElement(val.JSValue())
}
func (h HTMLDialogElement) InsertAdjacentText(args ...interface{}) {
h.Call("insertAdjacentText", args...)
}
func (h HTMLDialogElement) InsertBefore(args ...interface{}) Node {
val := h.Call("insertBefore", args...)
return JSValueToNode(val.JSValue())
}
func (h HTMLDialogElement) GetIsConnected() bool {
val := h.Get("isConnected")
return val.Bool()
}
func (h HTMLDialogElement) IsDefaultNamespace(args ...interface{}) bool {
val := h.Call("isDefaultNamespace", args...)
return val.Bool()
}
func (h HTMLDialogElement) IsEqualNode(args ...interface{}) bool {
val := h.Call("isEqualNode", args...)
return val.Bool()
}
func (h HTMLDialogElement) IsSameNode(args ...interface{}) bool {
val := h.Call("isSameNode", args...)
return val.Bool()
}
func (h HTMLDialogElement) GetLang() string {
val := h.Get("lang")
return val.String()
}
func (h HTMLDialogElement) SetLang(val string) {
h.Set("lang", val)
}
func (h HTMLDialogElement) GetLastChild() Node {
val := h.Get("lastChild")
return JSValueToNode(val.JSValue())
}
func (h HTMLDialogElement) GetLocalName() string {
val := h.Get("localName")
return val.String()
}
func (h HTMLDialogElement) LookupNamespaceURI(args ...interface{}) string {
val := h.Call("lookupNamespaceURI", args...)
return val.String()
}
func (h HTMLDialogElement) LookupPrefix(args ...interface{}) string {
val := h.Call("lookupPrefix", args...)
return val.String()
}
func (h HTMLDialogElement) Matches(args ...interface{}) bool {
val := h.Call("matches", args...)
return val.Bool()
}
func (h HTMLDialogElement) GetNamespaceURI() string {
val := h.Get("namespaceURI")
return val.String()
}
func (h HTMLDialogElement) GetNextSibling() Node {
val := h.Get("nextSibling")
return JSValueToNode(val.JSValue())
}
func (h HTMLDialogElement) GetNodeName() string {
val := h.Get("nodeName")
return val.String()
}
func (h HTMLDialogElement) GetNodeType() int {
val := h.Get("nodeType")
return val.Int()
}
func (h HTMLDialogElement) GetNodeValue() string {
val := h.Get("nodeValue")
return val.String()
}
func (h HTMLDialogElement) SetNodeValue(val string) {
h.Set("nodeValue", val)
}
func (h HTMLDialogElement) Normalize(args ...interface{}) {
h.Call("normalize", args...)
}
func (h HTMLDialogElement) GetOpen() bool {
val := h.Get("open")
return val.Bool()
}
func (h HTMLDialogElement) SetOpen(val bool) {
h.Set("open", val)
}
func (h HTMLDialogElement) GetOwnerDocument() Document {
val := h.Get("ownerDocument")
return JSValueToDocument(val.JSValue())
}
func (h HTMLDialogElement) GetParentElement() Element {
val := h.Get("parentElement")
return JSValueToElement(val.JSValue())
}
func (h HTMLDialogElement) GetParentNode() Node {
val := h.Get("parentNode")
return JSValueToNode(val.JSValue())
}
func (h HTMLDialogElement) GetPrefix() string {
val := h.Get("prefix")
return val.String()
}
func (h HTMLDialogElement) GetPreviousSibling() Node {
val := h.Get("previousSibling")
return JSValueToNode(val.JSValue())
}
func (h HTMLDialogElement) RemoveAttribute(args ...interface{}) {
h.Call("removeAttribute", args...)
}
func (h HTMLDialogElement) RemoveAttributeNS(args ...interface{}) {
h.Call("removeAttributeNS", args...)
}
func (h HTMLDialogElement) RemoveAttributeNode(args ...interface{}) Attr {
val := h.Call("removeAttributeNode", args...)
return JSValueToAttr(val.JSValue())
}
func (h HTMLDialogElement) RemoveChild(args ...interface{}) Node {
val := h.Call("removeChild", args...)
return JSValueToNode(val.JSValue())
}
func (h HTMLDialogElement) RemoveEventListener(args ...interface{}) {
h.Call("removeEventListener", args...)
}
func (h HTMLDialogElement) ReplaceChild(args ...interface{}) Node {
val := h.Call("replaceChild", args...)
return JSValueToNode(val.JSValue())
}
func (h HTMLDialogElement) GetReturnValue() string {
val := h.Get("returnValue")
return val.String()
}
func (h HTMLDialogElement) SetReturnValue(val string) {
h.Set("returnValue", val)
}
func (h HTMLDialogElement) SetAttribute(args ...interface{}) {
h.Call("setAttribute", args...)
}
func (h HTMLDialogElement) SetAttributeNS(args ...interface{}) {
h.Call("setAttributeNS", args...)
}
func (h HTMLDialogElement) SetAttributeNode(args ...interface{}) Attr {
val := h.Call("setAttributeNode", args...)
return JSValueToAttr(val.JSValue())
}
func (h HTMLDialogElement) SetAttributeNodeNS(args ...interface{}) Attr {
val := h.Call("setAttributeNodeNS", args...)
return JSValueToAttr(val.JSValue())
}
func (h HTMLDialogElement) GetShadowRoot() ShadowRoot {
val := h.Get("shadowRoot")
return JSValueToShadowRoot(val.JSValue())
}
func (h HTMLDialogElement) Show(args ...interface{}) {
h.Call("show", args...)
}
func (h HTMLDialogElement) ShowModal(args ...interface{}) {
h.Call("showModal", args...)
}
func (h HTMLDialogElement) GetSlot() string {
val := h.Get("slot")
return val.String()
}
func (h HTMLDialogElement) SetSlot(val string) {
h.Set("slot", val)
}
func (h HTMLDialogElement) GetSpellcheck() bool {
val := h.Get("spellcheck")
return val.Bool()
}
func (h HTMLDialogElement) SetSpellcheck(val bool) {
h.Set("spellcheck", val)
}
func (h HTMLDialogElement) GetTagName() string {
val := h.Get("tagName")
return val.String()
}
func (h HTMLDialogElement) GetTextContent() string {
val := h.Get("textContent")
return val.String()
}
func (h HTMLDialogElement) SetTextContent(val string) {
h.Set("textContent", val)
}
func (h HTMLDialogElement) GetTitle() string {
val := h.Get("title")
return val.String()
}
func (h HTMLDialogElement) SetTitle(val string) {
h.Set("title", val)
}
func (h HTMLDialogElement) ToggleAttribute(args ...interface{}) bool {
val := h.Call("toggleAttribute", args...)
return val.Bool()
}
func (h HTMLDialogElement) GetTranslate() bool {
val := h.Get("translate")
return val.Bool()
}
func (h HTMLDialogElement) SetTranslate(val bool) {
h.Set("translate", val)
}
func (h HTMLDialogElement) WebkitMatchesSelector(args ...interface{}) bool {
val := h.Call("webkitMatchesSelector", args...)
return val.Bool()
}