diff --git a/libraries/stdlib/js/src/org.w3c/org.w3c.dom.kt b/libraries/stdlib/js/src/org.w3c/org.w3c.dom.kt index 6681119e726..6b57b7c1480 100644 --- a/libraries/stdlib/js/src/org.w3c/org.w3c.dom.kt +++ b/libraries/stdlib/js/src/org.w3c/org.w3c.dom.kt @@ -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 { @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 { override val length: Int override fun item(index: Int): MimeType? @@ -2299,6 +2305,9 @@ public external abstract class Plugin : ItemArrayLike { @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 { } @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 fun convertQuadFromNode(quad: dynamic, from: dynamic, options: ConvertCoordinateOptions = definedExternally): DOMQuad diff --git a/libraries/stdlib/js/src/org.w3c/org.w3c.dom.svg.kt b/libraries/stdlib/js/src/org.w3c/org.w3c.dom.svg.kt index 9eda5f065ae..4d3847948cd 100644 --- a/libraries/stdlib/js/src/org.w3c/org.w3c.dom.svg.kt +++ b/libraries/stdlib/js/src/org.w3c/org.w3c.dom.svg.kt @@ -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 { }