Regenerate w3c declarations to get new MDN references

This commit is contained in:
Ilya Gorbunov
2018-04-23 21:30:46 +03:00
parent 5c40892c57
commit 579822c114
2 changed files with 39 additions and 0 deletions
@@ -1358,6 +1358,9 @@ public external abstract class ValidityState {
open val valid: Boolean
}
/**
* Exposes the JavaScript [HTMLDetailsElement](https://developer.mozilla.org/en/docs/Web/API/HTMLDetailsElement) to Kotlin
*/
public external abstract class HTMLDetailsElement : HTMLElement {
open var open: Boolean
}
@@ -2277,6 +2280,9 @@ public external abstract class PluginArray : ItemArrayLike<Plugin> {
@kotlin.internal.InlineOnly inline operator fun PluginArray.get(index: Int): Plugin? = asDynamic()[index]
@kotlin.internal.InlineOnly inline operator fun PluginArray.get(name: String): Plugin? = asDynamic()[name]
/**
* Exposes the JavaScript [MimeTypeArray](https://developer.mozilla.org/en/docs/Web/API/MimeTypeArray) to Kotlin
*/
public external abstract class MimeTypeArray : ItemArrayLike<MimeType> {
override val length: Int
override fun item(index: Int): MimeType?
@@ -2299,6 +2305,9 @@ public external abstract class Plugin : ItemArrayLike<MimeType> {
@kotlin.internal.InlineOnly inline operator fun Plugin.get(index: Int): MimeType? = asDynamic()[index]
@kotlin.internal.InlineOnly inline operator fun Plugin.get(name: String): MimeType? = asDynamic()[name]
/**
* Exposes the JavaScript [MimeType](https://developer.mozilla.org/en/docs/Web/API/MimeType) to Kotlin
*/
public external abstract class MimeType {
open val type: String
open val description: String
@@ -2901,6 +2910,9 @@ public external interface ChildNode {
fun remove(): Unit
}
/**
* Exposes the JavaScript [Slotable](https://developer.mozilla.org/en/docs/Web/API/Slotable) to Kotlin
*/
public external interface Slotable {
val assignedSlot: HTMLSlotElement?
}
@@ -3529,6 +3541,9 @@ public external interface DOMRectList : ItemArrayLike<DOMRect> {
}
@kotlin.internal.InlineOnly inline operator fun DOMRectList.get(index: Int): DOMRect? = asDynamic()[index]
/**
* Exposes the JavaScript [DOMQuad](https://developer.mozilla.org/en/docs/Web/API/DOMQuad) to Kotlin
*/
public external open class DOMQuad {
constructor(p1: DOMPointInit = definedExternally, p2: DOMPointInit = definedExternally, p3: DOMPointInit = definedExternally, p4: DOMPointInit = definedExternally)
constructor(rect: DOMRectInit)
@@ -3679,6 +3694,9 @@ public external abstract class MediaQueryList : EventTarget {
fun removeListener(listener: ((Event) -> Unit)?): Unit
}
/**
* Exposes the JavaScript [MediaQueryListEvent](https://developer.mozilla.org/en/docs/Web/API/MediaQueryListEvent) to Kotlin
*/
public external open class MediaQueryListEvent(type: String, eventInitDict: MediaQueryListEventInit = definedExternally) : Event {
open val media: String
open val matches: Boolean
@@ -3785,6 +3803,9 @@ public inline fun ConvertCoordinateOptions(fromBox: CSSBoxType? = CSSBoxType.BOR
return o
}
/**
* Exposes the JavaScript [GeometryUtils](https://developer.mozilla.org/en/docs/Web/API/GeometryUtils) to Kotlin
*/
public external interface GeometryUtils {
fun getBoxQuads(options: BoxQuadOptions = definedExternally): Array<DOMQuad>
fun convertQuadFromNode(quad: dynamic, from: dynamic, options: ConvertCoordinateOptions = definedExternally): DOMQuad
@@ -280,6 +280,9 @@ public external abstract class SVGStringList {
@kotlin.internal.InlineOnly inline operator fun SVGStringList.get(index: Int): String? = asDynamic()[index]
@kotlin.internal.InlineOnly inline operator fun SVGStringList.set(index: Int, newItem: String): Unit { asDynamic()[index] = newItem; }
/**
* Exposes the JavaScript [SVGUnitTypes](https://developer.mozilla.org/en/docs/Web/API/SVGUnitTypes) to Kotlin
*/
public external interface SVGUnitTypes {
companion object {
@@ -302,6 +305,9 @@ public external interface SVGFitToViewBox {
val preserveAspectRatio: SVGAnimatedPreserveAspectRatio
}
/**
* Exposes the JavaScript [SVGZoomAndPan](https://developer.mozilla.org/en/docs/Web/API/SVGZoomAndPan) to Kotlin
*/
public external interface SVGZoomAndPan {
var zoomAndPan: Short
@@ -312,6 +318,9 @@ public external interface SVGZoomAndPan {
}
}
/**
* Exposes the JavaScript [SVGURIReference](https://developer.mozilla.org/en/docs/Web/API/SVGURIReference) to Kotlin
*/
public external interface SVGURIReference {
val href: SVGAnimatedString
}
@@ -373,6 +382,9 @@ public external abstract class SVGDefsElement : SVGGraphicsElement {
public external abstract class SVGDescElement : SVGElement {
}
/**
* Exposes the JavaScript [SVGMetadataElement](https://developer.mozilla.org/en/docs/Web/API/SVGMetadataElement) to Kotlin
*/
public external abstract class SVGMetadataElement : SVGElement {
}
@@ -654,6 +666,9 @@ public external abstract class SVGTextElement : SVGTextPositioningElement {
public external abstract class SVGTSpanElement : SVGTextPositioningElement {
}
/**
* Exposes the JavaScript [SVGTextPathElement](https://developer.mozilla.org/en/docs/Web/API/SVGTextPathElement) to Kotlin
*/
public external abstract class SVGTextPathElement : SVGTextContentElement, SVGURIReference {
open val startOffset: SVGAnimatedLength
open val method: SVGAnimatedEnumeration
@@ -713,6 +728,9 @@ public external abstract class SVGMarkerElement : SVGElement, SVGFitToViewBox {
}
}
/**
* Exposes the JavaScript [SVGSolidcolorElement](https://developer.mozilla.org/en/docs/Web/API/SVGSolidcolorElement) to Kotlin
*/
public external abstract class SVGSolidcolorElement : SVGElement {
}