window.HTMLDialogElement
See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement
open : boolean
Read only
isMinimized : boolean
Read only
returnValue : *
REJECTION_REASON_NOT_ALLOWED
When the promise returned from openDialog() is rejected, error.code can be equal to this value, which means that the application does not allow showing dialogs (e.g. only one dialog is allowed).
REJECTION_REASON_DETACHED
When the promise returned from openDialog() is rejected, error.code can be equal to this value, which means that the node has been detached from DOM tree.
dataset
Access to all the custom data attributes (data-*) set.
See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset
innerText : string
nodeName : string
Read only
localName : string
Read only
tagName : string
Read only
nodeType : number
Read only
namespaceURI : string
Read only
id : string
tabIndex : number
className : string
attributes : NamedNodeMap
Read only
style : Style
Read only
clientLeft : number
Read only
clientTop : number
Read only
clientWidth : number
Read only
clientHeight : number
Read only
height : string | Number
The height of the element
width : string | Number
The width of the element
offsetParent : Element
Read only
offsetLeft : number
Read only
offsetTop : number
Read only
offsetWidth : number
Read only
offsetHeight : number
Read only
scrollLeft : number
scrollTop : number
scrollWidth : number
Read only
scrollHeight : number
Read only
autofocus : boolean
Indicates if the element will focus automatically when it is loaded
uxpContainer : number
Read only
disabled : boolean
innerHTML : string
outerHTML : string
contentEditable
Read only
isConnected : boolean
Read only
parentNode : Node
Read only
parentElement : Element
Read only
firstChild : Node
Read only
lastChild : Node
Read only
previousSibling : Node
Read only
nextSibling : Node
Read only
firstElementChild : Node
Read only
lastElementChild : Node
Read only
previousElementSibling : Node
Read only
nextElementSibling : Node
Read only
textContent : string
childNodes : NodeList
Read only
children : HTMLCollection
Read only
ownerDocument
Read only
show([options])
Show the non modal dialog.
object{}objectnumbernumbershowModal()
Show the modal dialog.
Returns: Promise - A promise that resolves when the dialog is closed (NSC) after calling the close() method or clicking the "submit" button. The promise will be resolved with returnValue as a parameter. The promise can be rejected if the dialog was closed for other reasons e.g. the user hit escape or closed the window, or if the application does not allow showing the dialog. The error parameter will give more details. error.code will be one of the values from HTMLDialogElement.rejectionReasons.
close([returnValue])
Closes the dialog; setting the return value (optional)
*scrollTo(xOrOptions, y)
Scrolls the element to the new x and y positions. If options object is used with behavior: "smooth" then the element is smoothly scrolled.
See: https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo
**scrollIntoView(alignToTop)
booleanscrollIntoViewIfNeeded()
focus()
blur()
getAttribute(name)
Returns: string
stringsetAttribute(name, value)
stringstringremoveAttribute(name)
stringhasAttribute(name)
Returns: boolean
stringgetAttributeNode(name)
Returns: *
stringsetAttributeNode(newAttr)
*removeAttributeNode(oldAttr)
*click()
getElementsByClassName(name)
Returns: NodeList
stringgetElementsByTagName(name)
Returns: NodeList
stringquerySelector(selector)
Returns: Element
stringquerySelectorAll(selector)
Returns: NodeList
stringgetBoundingClientRect()
Returns: *
closest(selectorString)
Returns: Element
See: https://developer.mozilla.org/en-US/docs/Web/API/Element/closest
stringmatches(selectorString)
Returns: boolean
See: https://developer.mozilla.org/en-US/docs/Web/API/Element/matches
stringinsertAdjacentHTML(position, value)
stringinsertAdjacentElement(position, node)
Returns: Node
**insertAdjacentText(position, text)
**hasChildNodes()
Returns: boolean
cloneNode(deep)
Returns: Node
booleanappendChild(child)
Returns: Node
NodeinsertBefore(child, before)
Returns: Node
NodeNodereplaceChild(newChild, oldChild)
Returns: Node
NodeNoderemoveChild(child)
Returns: Node
Noderemove()
before(...nodes)
Array<Node>after(...nodes)
Array<Node>replaceWith(...nodes)
Array<Node>contains(node)
NodeaddEventListener(eventName, callback, [capture])
**booleanfalseremoveEventListener(eventName, callback, [capture])
**booleanfalsedispatchEvent(event)
*