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