Skip to content

Commit b4fe5a6

Browse files
committed
Create HTMLDialogElement
1 parent 1a944e4 commit b4fe5a6

File tree

3 files changed

+447
-0
lines changed

3 files changed

+447
-0
lines changed

api-reports/2_12.txt

+205
Original file line numberDiff line numberDiff line change
@@ -4149,6 +4149,211 @@ HTMLDataListElement[JC] var tabIndex: Int
41494149
HTMLDataListElement[JC] def tagName: String
41504150
HTMLDataListElement[JC] var textContent: String
41514151
HTMLDataListElement[JC] var title: String
4152+
HTMLDialogElement[JC] var accessKey: String
4153+
HTMLDialogElement[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
4154+
HTMLDialogElement[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
4155+
HTMLDialogElement[JC] def after(nodes: Node | String*): Unit
4156+
HTMLDialogElement[JC] def append(nodes: Node | String*): Unit
4157+
HTMLDialogElement[JC] def appendChild(newChild: Node): Node
4158+
HTMLDialogElement[JC] def attachShadow(init: ShadowRootInit): ShadowRoot
4159+
HTMLDialogElement[JC] def attributes: NamedNodeMap
4160+
HTMLDialogElement[JC] def baseURI: String
4161+
HTMLDialogElement[JC] def before(nodes: Node | String*): Unit
4162+
HTMLDialogElement[JC] def blur(): Unit
4163+
HTMLDialogElement[JC] def childElementCount: Int
4164+
HTMLDialogElement[JC] def childNodes: NodeList[Node]
4165+
HTMLDialogElement[JC] def children: HTMLCollection[Element]
4166+
HTMLDialogElement[JC] var classList: DOMTokenList
4167+
HTMLDialogElement[JC] var className: String
4168+
HTMLDialogElement[JC] def click(): Unit
4169+
HTMLDialogElement[JC] def clientHeight: Int
4170+
HTMLDialogElement[JC] def clientLeft: Int
4171+
HTMLDialogElement[JC] def clientTop: Int
4172+
HTMLDialogElement[JC] def clientWidth: Int
4173+
HTMLDialogElement[JC] def cloneNode(deep: Boolean?): Node
4174+
HTMLDialogElement[JC] def close(): Unit
4175+
HTMLDialogElement[JC] def close(returnValue: String?): Unit
4176+
HTMLDialogElement[JC] def compareDocumentPosition(other: Node): Int
4177+
HTMLDialogElement[JC] def contains(child: HTMLElement): Boolean
4178+
HTMLDialogElement[JC] def contains(otherNode: Node): Boolean
4179+
HTMLDialogElement[JC] var contentEditable: String
4180+
HTMLDialogElement[JC] def dataset: js.Dictionary[String]
4181+
HTMLDialogElement[JC] var dir: String
4182+
HTMLDialogElement[JC] def dispatchEvent(evt: Event): Boolean
4183+
HTMLDialogElement[JC] var draggable: Boolean
4184+
HTMLDialogElement[JC] var filters: Object
4185+
HTMLDialogElement[JC] def firstChild: Node
4186+
HTMLDialogElement[JC] def firstElementChild: Element
4187+
HTMLDialogElement[JC] def focus(): Unit
4188+
HTMLDialogElement[JC] def getAttribute(name: String): String
4189+
HTMLDialogElement[JC] def getAttributeNS(namespaceURI: String, localName: String): String
4190+
HTMLDialogElement[JC] def getAttributeNode(name: String): Attr
4191+
HTMLDialogElement[JC] def getAttributeNodeNS(namespaceURI: String, localName: String): Attr
4192+
HTMLDialogElement[JC] def getBoundingClientRect(): DOMRect
4193+
HTMLDialogElement[JC] def getClientRects(): DOMRectList
4194+
HTMLDialogElement[JC] def getElementsByClassName(classNames: String): HTMLCollection[Element]
4195+
HTMLDialogElement[JC] def getElementsByTagName(name: String): HTMLCollection[Element]
4196+
HTMLDialogElement[JC] def getElementsByTagNameNS(namespaceURI: String, localName: String): HTMLCollection[Element]
4197+
HTMLDialogElement[JC] var gotpointercapture: js.Function1[PointerEvent, _]
4198+
HTMLDialogElement[JC] def hasAttribute(name: String): Boolean
4199+
HTMLDialogElement[JC] def hasAttributeNS(namespaceURI: String, localName: String): Boolean
4200+
HTMLDialogElement[JC] def hasAttributes(): Boolean
4201+
HTMLDialogElement[JC] def hasChildNodes(): Boolean
4202+
HTMLDialogElement[JC] var id: String
4203+
HTMLDialogElement[JC] var innerHTML: String
4204+
HTMLDialogElement[JC] var innerText: String
4205+
HTMLDialogElement[JC] def insertAdjacentElement(position: String, element: Element): Element
4206+
HTMLDialogElement[JC] def insertAdjacentHTML(where: String, html: String): Unit
4207+
HTMLDialogElement[JC] def insertBefore(newChild: Node, refChild: Node): Node
4208+
HTMLDialogElement[JC] def isConnected: Boolean
4209+
HTMLDialogElement[JC] def isContentEditable: Boolean
4210+
HTMLDialogElement[JC] def isDefaultNamespace(namespaceURI: String): Boolean
4211+
HTMLDialogElement[JC] def isEqualNode(arg: Node): Boolean
4212+
HTMLDialogElement[JC] def isSameNode(other: Node): Boolean
4213+
HTMLDialogElement[JC] def isSupported(feature: String, version: String): Boolean
4214+
HTMLDialogElement[JC] var lang: String
4215+
HTMLDialogElement[JC] def lastChild: Node
4216+
HTMLDialogElement[JC] def lastElementChild: Element
4217+
HTMLDialogElement[JC] def localName: String
4218+
HTMLDialogElement[JC] def lookupNamespaceURI(prefix: String): String
4219+
HTMLDialogElement[JC] def lookupPrefix(namespaceURI: String): String
4220+
HTMLDialogElement[JC] var lostpointercapture: js.Function1[PointerEvent, _]
4221+
HTMLDialogElement[JC] def matches(selector: String): Boolean
4222+
HTMLDialogElement[JC] def namespaceURI: String
4223+
HTMLDialogElement[JC] def nextElementSibling: Element
4224+
HTMLDialogElement[JC] def nextSibling: Node
4225+
HTMLDialogElement[JC] def nodeName: String
4226+
HTMLDialogElement[JC] def nodeType: Int
4227+
HTMLDialogElement[JC] var nodeValue: String
4228+
HTMLDialogElement[JC] def normalize(): Unit
4229+
HTMLDialogElement[JC] def offsetHeight: Double
4230+
HTMLDialogElement[JC] def offsetLeft: Double
4231+
HTMLDialogElement[JC] def offsetParent: Element
4232+
HTMLDialogElement[JC] def offsetTop: Double
4233+
HTMLDialogElement[JC] def offsetWidth: Double
4234+
HTMLDialogElement[JC] var onabort: js.Function1[UIEvent, _]
4235+
HTMLDialogElement[JC] var onactivate: js.Function1[UIEvent, _]
4236+
HTMLDialogElement[JC] var onbeforeactivate: js.Function1[UIEvent, _]
4237+
HTMLDialogElement[JC] var onbeforecopy: js.Function1[DragEvent, _]
4238+
HTMLDialogElement[JC] var onbeforecut: js.Function1[DragEvent, _]
4239+
HTMLDialogElement[JC] var onbeforedeactivate: js.Function1[UIEvent, _]
4240+
HTMLDialogElement[JC] var onbeforepaste: js.Function1[DragEvent, _]
4241+
HTMLDialogElement[JC] var onblur: js.Function1[FocusEvent, _]
4242+
HTMLDialogElement[JC] var oncanplay: js.Function1[Event, _]
4243+
HTMLDialogElement[JC] var oncanplaythrough: js.Function1[Event, _]
4244+
HTMLDialogElement[JC] var onchange: js.Function1[Event, _]
4245+
HTMLDialogElement[JC] var onclick: js.Function1[MouseEvent, _]
4246+
HTMLDialogElement[JC] var oncontextmenu: js.Function1[MouseEvent, _]
4247+
HTMLDialogElement[JC] var oncopy: js.Function1[ClipboardEvent, _]
4248+
HTMLDialogElement[JC] var oncuechange: js.Function1[Event, _]
4249+
HTMLDialogElement[JC] var oncut: js.Function1[ClipboardEvent, _]
4250+
HTMLDialogElement[JC] var ondblclick: js.Function1[MouseEvent, _]
4251+
HTMLDialogElement[JC] var ondeactivate: js.Function1[UIEvent, _]
4252+
HTMLDialogElement[JC] var ondrag: js.Function1[DragEvent, _]
4253+
HTMLDialogElement[JC] var ondragend: js.Function1[DragEvent, _]
4254+
HTMLDialogElement[JC] var ondragenter: js.Function1[DragEvent, _]
4255+
HTMLDialogElement[JC] var ondragleave: js.Function1[DragEvent, _]
4256+
HTMLDialogElement[JC] var ondragover: js.Function1[DragEvent, _]
4257+
HTMLDialogElement[JC] var ondragstart: js.Function1[DragEvent, _]
4258+
HTMLDialogElement[JC] var ondrop: js.Function1[DragEvent, _]
4259+
HTMLDialogElement[JC] var ondurationchange: js.Function1[Event, _]
4260+
HTMLDialogElement[JC] var onemptied: js.Function1[Event, _]
4261+
HTMLDialogElement[JC] var onended: js.Function1[Event, _]
4262+
HTMLDialogElement[JC] var onfocus: js.Function1[FocusEvent, _]
4263+
HTMLDialogElement[JC] var onfocusin: js.Function1[FocusEvent, _]
4264+
HTMLDialogElement[JC] var onfocusout: js.Function1[FocusEvent, _]
4265+
HTMLDialogElement[JC] var onfullscreenchange: js.Function1[Event, _]
4266+
HTMLDialogElement[JC] var onfullscreenerror: js.Function1[Event, _]
4267+
HTMLDialogElement[JC] var onhelp: js.Function1[Event, _]
4268+
HTMLDialogElement[JC] var oninput: js.Function1[Event, _]
4269+
HTMLDialogElement[JC] var onkeydown: js.Function1[KeyboardEvent, _]
4270+
HTMLDialogElement[JC] var onkeypress: js.Function1[KeyboardEvent, _]
4271+
HTMLDialogElement[JC] var onkeyup: js.Function1[KeyboardEvent, _]
4272+
HTMLDialogElement[JC] var onloadeddata: js.Function1[Event, _]
4273+
HTMLDialogElement[JC] var onloadedmetadata: js.Function1[Event, _]
4274+
HTMLDialogElement[JC] var onloadstart: js.Function1[Event, _]
4275+
HTMLDialogElement[JC] var onmousedown: js.Function1[MouseEvent, _]
4276+
HTMLDialogElement[JC] var onmouseenter: js.Function1[MouseEvent, _]
4277+
HTMLDialogElement[JC] var onmouseleave: js.Function1[MouseEvent, _]
4278+
HTMLDialogElement[JC] var onmousemove: js.Function1[MouseEvent, _]
4279+
HTMLDialogElement[JC] var onmouseout: js.Function1[MouseEvent, _]
4280+
HTMLDialogElement[JC] var onmouseover: js.Function1[MouseEvent, _]
4281+
HTMLDialogElement[JC] var onmouseup: js.Function1[MouseEvent, _]
4282+
HTMLDialogElement[JC] var onmousewheel: js.Function1[WheelEvent, _]
4283+
HTMLDialogElement[JC] var onpaste: js.Function1[ClipboardEvent, _]
4284+
HTMLDialogElement[JC] var onpause: js.Function1[Event, _]
4285+
HTMLDialogElement[JC] var onplay: js.Function1[Event, _]
4286+
HTMLDialogElement[JC] var onplaying: js.Function1[Event, _]
4287+
HTMLDialogElement[JC] var onpointercancel: js.Function1[PointerEvent, _]
4288+
HTMLDialogElement[JC] var onpointerdown: js.Function1[PointerEvent, _]
4289+
HTMLDialogElement[JC] var onpointerenter: js.Function1[PointerEvent, _]
4290+
HTMLDialogElement[JC] var onpointerleave: js.Function1[PointerEvent, _]
4291+
HTMLDialogElement[JC] var onpointermove: js.Function1[PointerEvent, _]
4292+
HTMLDialogElement[JC] var onpointerout: js.Function1[PointerEvent, _]
4293+
HTMLDialogElement[JC] var onpointerover: js.Function1[PointerEvent, _]
4294+
HTMLDialogElement[JC] var onpointerup: js.Function1[PointerEvent, _]
4295+
HTMLDialogElement[JC] var onprogress: js.Function1[js.Any, _]
4296+
HTMLDialogElement[JC] var onratechange: js.Function1[Event, _]
4297+
HTMLDialogElement[JC] var onreadystatechange: js.Function1[Event, _]
4298+
HTMLDialogElement[JC] var onreset: js.Function1[Event, _]
4299+
HTMLDialogElement[JC] var onscroll: js.Function1[UIEvent, _]
4300+
HTMLDialogElement[JC] var onseeked: js.Function1[Event, _]
4301+
HTMLDialogElement[JC] var onseeking: js.Function1[Event, _]
4302+
HTMLDialogElement[JC] var onselect: js.Function1[UIEvent, _]
4303+
HTMLDialogElement[JC] var onselectstart: js.Function1[Event, _]
4304+
HTMLDialogElement[JC] var onstalled: js.Function1[Event, _]
4305+
HTMLDialogElement[JC] var onsubmit: js.Function1[Event, _]
4306+
HTMLDialogElement[JC] var onsuspend: js.Function1[Event, _]
4307+
HTMLDialogElement[JC] var ontimeupdate: js.Function1[Event, _]
4308+
HTMLDialogElement[JC] var onvolumechange: js.Function1[Event, _]
4309+
HTMLDialogElement[JC] var onwaiting: js.Function1[Event, _]
4310+
HTMLDialogElement[JC] var onwheel: js.Function1[WheelEvent, _]
4311+
HTMLDialogElement[JC] def open: Boolean
4312+
HTMLDialogElement[JC] var outerHTML: String
4313+
HTMLDialogElement[JC] def ownerDocument: Document
4314+
HTMLDialogElement[JC] override def ownerDocument: HTMLDocument
4315+
HTMLDialogElement[JC] var parentElement: HTMLElement
4316+
HTMLDialogElement[JC] def parentNode: Node
4317+
HTMLDialogElement[JC] def prefix: String
4318+
HTMLDialogElement[JC] def prepend(nodes: Node | String*): Unit
4319+
HTMLDialogElement[JC] def previousElementSibling: Element
4320+
HTMLDialogElement[JC] def previousSibling: Node
4321+
HTMLDialogElement[JC] def querySelector(selectors: String): Element
4322+
HTMLDialogElement[JC] def querySelectorAll(selectors: String): NodeList[Element]
4323+
HTMLDialogElement[JC] var readyState: js.Any
4324+
HTMLDialogElement[JC] var recordNumber: js.Any
4325+
HTMLDialogElement[JC] def remove(): Unit
4326+
HTMLDialogElement[JC] def removeAttribute(name: String): Unit
4327+
HTMLDialogElement[JC] def removeAttributeNS(namespaceURI: String, localName: String): Unit
4328+
HTMLDialogElement[JC] def removeAttributeNode(oldAttr: Attr): Attr
4329+
HTMLDialogElement[JC] def removeChild(oldChild: Node): Node
4330+
HTMLDialogElement[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
4331+
HTMLDialogElement[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
4332+
HTMLDialogElement[JC] def replaceChild(newChild: Node, oldChild: Node): Node
4333+
HTMLDialogElement[JC] def replaceChildren(nodes: Node | String*): Unit
4334+
HTMLDialogElement[JC] def requestFullscreen(options: FullscreenOptions?): js.Promise[Unit]
4335+
HTMLDialogElement[JC] def requestPointerLock(): Unit
4336+
HTMLDialogElement[JC] var returnValue: String
4337+
HTMLDialogElement[JC] def scrollHeight: Int
4338+
HTMLDialogElement[JC] def scrollIntoView(top: Boolean?): Unit
4339+
HTMLDialogElement[JC] var scrollLeft: Double
4340+
HTMLDialogElement[JC] var scrollTop: Double
4341+
HTMLDialogElement[JC] def scrollWidth: Int
4342+
HTMLDialogElement[JC] def setAttribute(name: String, value: String): Unit
4343+
HTMLDialogElement[JC] def setAttributeNS(namespaceURI: String, qualifiedName: String, value: String): Unit
4344+
HTMLDialogElement[JC] def setAttributeNode(newAttr: Attr): Attr
4345+
HTMLDialogElement[JC] def setAttributeNodeNS(newAttr: Attr): Attr
4346+
HTMLDialogElement[JC] def shadowRoot: ShadowRoot
4347+
HTMLDialogElement[JC] def show(): Unit
4348+
HTMLDialogElement[JC] def showModal(): Unit
4349+
HTMLDialogElement[JC] var spellcheck: Boolean
4350+
HTMLDialogElement[JC] def style: CSSStyleDeclaration
4351+
HTMLDialogElement[JC] def style_ = (value: CSSStyleDeclaration): Unit
4352+
HTMLDialogElement[JC] def style_ = (value: String): Unit
4353+
HTMLDialogElement[JC] var tabIndex: Int
4354+
HTMLDialogElement[JC] def tagName: String
4355+
HTMLDialogElement[JC] var textContent: String
4356+
HTMLDialogElement[JC] var title: String
41524357
HTMLDivElement[JC] var accessKey: String
41534358
HTMLDivElement[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
41544359
HTMLDivElement[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit

0 commit comments

Comments
 (0)