JS: regenerate declarations from IDL
This commit is contained in:
@@ -20,7 +20,7 @@ import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
@native public interface WebGLContextAttributes {
|
||||
public external interface WebGLContextAttributes {
|
||||
var alpha: Boolean? /* = true */
|
||||
var depth: Boolean? /* = true */
|
||||
var stencil: Boolean? /* = false */
|
||||
@@ -47,31 +47,31 @@ public inline fun WebGLContextAttributes(alpha: Boolean? = true, depth: Boolean?
|
||||
return o
|
||||
}
|
||||
|
||||
@native public abstract class WebGLObject {
|
||||
public external abstract class WebGLObject {
|
||||
}
|
||||
|
||||
@native public abstract class WebGLBuffer : WebGLObject() {
|
||||
public external abstract class WebGLBuffer : WebGLObject() {
|
||||
}
|
||||
|
||||
@native public abstract class WebGLFramebuffer : WebGLObject() {
|
||||
public external abstract class WebGLFramebuffer : WebGLObject() {
|
||||
}
|
||||
|
||||
@native public abstract class WebGLProgram : WebGLObject() {
|
||||
public external abstract class WebGLProgram : WebGLObject() {
|
||||
}
|
||||
|
||||
@native public abstract class WebGLRenderbuffer : WebGLObject() {
|
||||
public external abstract class WebGLRenderbuffer : WebGLObject() {
|
||||
}
|
||||
|
||||
@native public abstract class WebGLShader : WebGLObject() {
|
||||
public external abstract class WebGLShader : WebGLObject() {
|
||||
}
|
||||
|
||||
@native public abstract class WebGLTexture : WebGLObject() {
|
||||
public external abstract class WebGLTexture : WebGLObject() {
|
||||
}
|
||||
|
||||
@native public abstract class WebGLUniformLocation {
|
||||
public external abstract class WebGLUniformLocation {
|
||||
}
|
||||
|
||||
@native public abstract class WebGLActiveInfo {
|
||||
public external abstract class WebGLActiveInfo {
|
||||
open val size: Int
|
||||
get() = noImpl
|
||||
open val type: Int
|
||||
@@ -80,7 +80,7 @@ public inline fun WebGLContextAttributes(alpha: Boolean? = true, depth: Boolean?
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class WebGLShaderPrecisionFormat {
|
||||
public external abstract class WebGLShaderPrecisionFormat {
|
||||
open val rangeMin: Int
|
||||
get() = noImpl
|
||||
open val rangeMax: Int
|
||||
@@ -89,7 +89,7 @@ public inline fun WebGLContextAttributes(alpha: Boolean? = true, depth: Boolean?
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public interface WebGLRenderingContextBase {
|
||||
public external interface WebGLRenderingContextBase {
|
||||
val canvas: HTMLCanvasElement
|
||||
get() = noImpl
|
||||
val drawingBufferWidth: Int
|
||||
@@ -548,7 +548,7 @@ public inline fun WebGLContextAttributes(alpha: Boolean? = true, depth: Boolean?
|
||||
}
|
||||
}
|
||||
|
||||
@native public abstract class WebGLRenderingContext : WebGLRenderingContextBase, RenderingContext {
|
||||
public external abstract class WebGLRenderingContext : WebGLRenderingContextBase, RenderingContext {
|
||||
|
||||
companion object {
|
||||
val DEPTH_BUFFER_BIT: Int = 0x00000100
|
||||
@@ -851,12 +851,12 @@ public inline fun WebGLContextAttributes(alpha: Boolean? = true, depth: Boolean?
|
||||
}
|
||||
}
|
||||
|
||||
@native public open class WebGLContextEvent(type: String, eventInit: WebGLContextEventInit = noImpl) : Event(type, noImpl) {
|
||||
public external open class WebGLContextEvent(type: String, eventInit: WebGLContextEventInit = noImpl) : Event(type, noImpl) {
|
||||
open val statusMessage: String
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public interface WebGLContextEventInit : EventInit {
|
||||
public external interface WebGLContextEventInit : EventInit {
|
||||
var statusMessage: String? /* = "" */
|
||||
}
|
||||
|
||||
@@ -872,7 +872,7 @@ public inline fun WebGLContextEventInit(statusMessage: String? = "", bubbles: Bo
|
||||
return o
|
||||
}
|
||||
|
||||
@native public open class ArrayBuffer(length: Int) : BufferDataSource {
|
||||
public external open class ArrayBuffer(length: Int) : BufferDataSource {
|
||||
open val byteLength: Int
|
||||
get() = noImpl
|
||||
fun slice(begin: Int, end: Int = noImpl): ArrayBuffer = noImpl
|
||||
@@ -882,7 +882,7 @@ public inline fun WebGLContextEventInit(statusMessage: String? = "", bubbles: Bo
|
||||
}
|
||||
}
|
||||
|
||||
@native public interface ArrayBufferView : BufferDataSource {
|
||||
public external interface ArrayBufferView : BufferDataSource {
|
||||
val buffer: ArrayBuffer
|
||||
get() = noImpl
|
||||
val byteOffset: Int
|
||||
@@ -891,7 +891,7 @@ public inline fun WebGLContextEventInit(statusMessage: String? = "", bubbles: Bo
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public open class Int8Array : ArrayBufferView {
|
||||
public external open class Int8Array : ArrayBufferView {
|
||||
constructor(length: Int)
|
||||
constructor(array: Int8Array)
|
||||
constructor(array: Array<Byte>)
|
||||
@@ -912,7 +912,7 @@ public inline fun WebGLContextEventInit(statusMessage: String? = "", bubbles: Bo
|
||||
}
|
||||
}
|
||||
|
||||
@native public open class Uint8Array : ArrayBufferView {
|
||||
public external open class Uint8Array : ArrayBufferView {
|
||||
constructor(length: Int)
|
||||
constructor(array: Uint8Array)
|
||||
constructor(array: Array<Byte>)
|
||||
@@ -933,7 +933,7 @@ public inline fun WebGLContextEventInit(statusMessage: String? = "", bubbles: Bo
|
||||
}
|
||||
}
|
||||
|
||||
@native public open class Uint8ClampedArray : ArrayBufferView {
|
||||
public external open class Uint8ClampedArray : ArrayBufferView {
|
||||
constructor(length: Int)
|
||||
constructor(array: Uint8ClampedArray)
|
||||
constructor(array: Array<Byte>)
|
||||
@@ -954,7 +954,7 @@ public inline fun WebGLContextEventInit(statusMessage: String? = "", bubbles: Bo
|
||||
}
|
||||
}
|
||||
|
||||
@native public open class Int16Array : ArrayBufferView {
|
||||
public external open class Int16Array : ArrayBufferView {
|
||||
constructor(length: Int)
|
||||
constructor(array: Int16Array)
|
||||
constructor(array: Array<Short>)
|
||||
@@ -975,7 +975,7 @@ public inline fun WebGLContextEventInit(statusMessage: String? = "", bubbles: Bo
|
||||
}
|
||||
}
|
||||
|
||||
@native public open class Uint16Array : ArrayBufferView {
|
||||
public external open class Uint16Array : ArrayBufferView {
|
||||
constructor(length: Int)
|
||||
constructor(array: Uint16Array)
|
||||
constructor(array: Array<Short>)
|
||||
@@ -996,7 +996,7 @@ public inline fun WebGLContextEventInit(statusMessage: String? = "", bubbles: Bo
|
||||
}
|
||||
}
|
||||
|
||||
@native public open class Int32Array : ArrayBufferView {
|
||||
public external open class Int32Array : ArrayBufferView {
|
||||
constructor(length: Int)
|
||||
constructor(array: Int32Array)
|
||||
constructor(array: Array<Int>)
|
||||
@@ -1017,7 +1017,7 @@ public inline fun WebGLContextEventInit(statusMessage: String? = "", bubbles: Bo
|
||||
}
|
||||
}
|
||||
|
||||
@native public open class Uint32Array : ArrayBufferView {
|
||||
public external open class Uint32Array : ArrayBufferView {
|
||||
constructor(length: Int)
|
||||
constructor(array: Uint32Array)
|
||||
constructor(array: Array<Int>)
|
||||
@@ -1038,7 +1038,7 @@ public inline fun WebGLContextEventInit(statusMessage: String? = "", bubbles: Bo
|
||||
}
|
||||
}
|
||||
|
||||
@native public open class Float32Array : ArrayBufferView {
|
||||
public external open class Float32Array : ArrayBufferView {
|
||||
constructor(length: Int)
|
||||
constructor(array: Float32Array)
|
||||
constructor(array: Array<Float>)
|
||||
@@ -1059,7 +1059,7 @@ public inline fun WebGLContextEventInit(statusMessage: String? = "", bubbles: Bo
|
||||
}
|
||||
}
|
||||
|
||||
@native public open class Float64Array : ArrayBufferView {
|
||||
public external open class Float64Array : ArrayBufferView {
|
||||
constructor(length: Int)
|
||||
constructor(array: Float64Array)
|
||||
constructor(array: Array<Double>)
|
||||
@@ -1080,7 +1080,7 @@ public inline fun WebGLContextEventInit(statusMessage: String? = "", bubbles: Bo
|
||||
}
|
||||
}
|
||||
|
||||
@native public open class DataView(buffer: ArrayBuffer, byteOffset: Int = noImpl, byteLength: Int = noImpl) : ArrayBufferView {
|
||||
public external open class DataView(buffer: ArrayBuffer, byteOffset: Int = noImpl, byteLength: Int = noImpl) : ArrayBufferView {
|
||||
fun getInt8(byteOffset: Int): Byte = noImpl
|
||||
fun getUint8(byteOffset: Int): Byte = noImpl
|
||||
fun getInt16(byteOffset: Int, littleEndian: Boolean = noImpl): Short = noImpl
|
||||
@@ -1099,9 +1099,9 @@ public inline fun WebGLContextEventInit(statusMessage: String? = "", bubbles: Bo
|
||||
fun setFloat64(byteOffset: Int, value: Double, littleEndian: Boolean = noImpl): Unit = noImpl
|
||||
}
|
||||
|
||||
@native public @marker interface BufferDataSource {
|
||||
public external @marker interface BufferDataSource {
|
||||
}
|
||||
|
||||
@native public @marker interface TexImageSource {
|
||||
public external @marker interface TexImageSource {
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
@native public abstract class CSSStyleDeclaration {
|
||||
public external abstract class CSSStyleDeclaration {
|
||||
open var cssText: String
|
||||
get() = noImpl
|
||||
set(value) = noImpl
|
||||
@@ -720,7 +720,7 @@ import org.w3c.xhr.*
|
||||
fun removeProperty(property: String): String = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class MediaList {
|
||||
public external abstract class MediaList {
|
||||
open var mediaText: String
|
||||
get() = noImpl
|
||||
set(value) = noImpl
|
||||
@@ -733,7 +733,7 @@ import org.w3c.xhr.*
|
||||
fun deleteMedium(medium: String): Unit = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class StyleSheet {
|
||||
public external abstract class StyleSheet {
|
||||
open val type: String
|
||||
get() = noImpl
|
||||
open val href: String?
|
||||
@@ -751,7 +751,7 @@ import org.w3c.xhr.*
|
||||
set(value) = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class CSSStyleSheet : StyleSheet() {
|
||||
public external abstract class CSSStyleSheet : StyleSheet() {
|
||||
open val ownerRule: CSSRule?
|
||||
get() = noImpl
|
||||
open val cssRules: CSSRuleList
|
||||
@@ -760,7 +760,7 @@ import org.w3c.xhr.*
|
||||
fun deleteRule(index: Int): Unit = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class StyleSheetList {
|
||||
public external abstract class StyleSheetList {
|
||||
open val length: Int
|
||||
get() = noImpl
|
||||
fun item(index: Int): StyleSheet? = noImpl
|
||||
@@ -768,12 +768,12 @@ import org.w3c.xhr.*
|
||||
operator fun get(index: Int): StyleSheet? = noImpl
|
||||
}
|
||||
|
||||
@native public interface LinkStyle {
|
||||
public external interface LinkStyle {
|
||||
val sheet: StyleSheet?
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class CSSRuleList {
|
||||
public external abstract class CSSRuleList {
|
||||
open val length: Int
|
||||
get() = noImpl
|
||||
fun item(index: Int): CSSRule? = noImpl
|
||||
@@ -781,7 +781,7 @@ import org.w3c.xhr.*
|
||||
operator fun get(index: Int): CSSRule? = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class CSSRule {
|
||||
public external abstract class CSSRule {
|
||||
open val type: Short
|
||||
get() = noImpl
|
||||
open var cssText: String
|
||||
@@ -804,7 +804,7 @@ import org.w3c.xhr.*
|
||||
}
|
||||
}
|
||||
|
||||
@native public abstract class CSSStyleRule : CSSRule() {
|
||||
public external abstract class CSSStyleRule : CSSRule() {
|
||||
open var selectorText: String
|
||||
get() = noImpl
|
||||
set(value) = noImpl
|
||||
@@ -812,7 +812,7 @@ import org.w3c.xhr.*
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class CSSImportRule : CSSRule() {
|
||||
public external abstract class CSSImportRule : CSSRule() {
|
||||
open val href: String
|
||||
get() = noImpl
|
||||
open val media: MediaList
|
||||
@@ -821,19 +821,19 @@ import org.w3c.xhr.*
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class CSSGroupingRule : CSSRule() {
|
||||
public external abstract class CSSGroupingRule : CSSRule() {
|
||||
open val cssRules: CSSRuleList
|
||||
get() = noImpl
|
||||
fun insertRule(rule: String, index: Int): Int = noImpl
|
||||
fun deleteRule(index: Int): Unit = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class CSSMediaRule : CSSGroupingRule() {
|
||||
public external abstract class CSSMediaRule : CSSGroupingRule() {
|
||||
open val media: MediaList
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class CSSPageRule : CSSGroupingRule() {
|
||||
public external abstract class CSSPageRule : CSSGroupingRule() {
|
||||
open var selectorText: String
|
||||
get() = noImpl
|
||||
set(value) = noImpl
|
||||
@@ -841,26 +841,26 @@ import org.w3c.xhr.*
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class CSSMarginRule : CSSRule() {
|
||||
public external abstract class CSSMarginRule : CSSRule() {
|
||||
open val name: String
|
||||
get() = noImpl
|
||||
open val style: CSSStyleDeclaration
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class CSSNamespaceRule : CSSRule() {
|
||||
public external abstract class CSSNamespaceRule : CSSRule() {
|
||||
open val namespaceURI: String
|
||||
get() = noImpl
|
||||
open val prefix: String
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public interface ElementCSSInlineStyle {
|
||||
public external interface ElementCSSInlineStyle {
|
||||
val style: CSSStyleDeclaration
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class CSS {
|
||||
public external abstract class CSS {
|
||||
|
||||
companion object {
|
||||
fun escape(ident: String): String = noImpl
|
||||
|
||||
@@ -20,14 +20,14 @@ import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
@native public open class UIEvent(type: String, eventInitDict: UIEventInit = noImpl) : Event(type, eventInitDict) {
|
||||
public external open class UIEvent(type: String, eventInitDict: UIEventInit = noImpl) : Event(type, eventInitDict) {
|
||||
open val view: Window?
|
||||
get() = noImpl
|
||||
open val detail: Int
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public interface UIEventInit : EventInit {
|
||||
public external interface UIEventInit : EventInit {
|
||||
var view: Window? /* = null */
|
||||
var detail: Int? /* = 0 */
|
||||
}
|
||||
@@ -45,12 +45,12 @@ public inline fun UIEventInit(view: Window? = null, detail: Int? = 0, bubbles: B
|
||||
return o
|
||||
}
|
||||
|
||||
@native public open class FocusEvent(type: String, eventInitDict: FocusEventInit = noImpl) : UIEvent(type, eventInitDict) {
|
||||
public external open class FocusEvent(type: String, eventInitDict: FocusEventInit = noImpl) : UIEvent(type, eventInitDict) {
|
||||
open val relatedTarget: EventTarget?
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public interface FocusEventInit : UIEventInit {
|
||||
public external interface FocusEventInit : UIEventInit {
|
||||
var relatedTarget: EventTarget? /* = null */
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ public inline fun FocusEventInit(relatedTarget: EventTarget? = null, view: Windo
|
||||
return o
|
||||
}
|
||||
|
||||
@native public open class MouseEvent(type: String, eventInitDict: MouseEventInit = noImpl) : UIEvent(type, eventInitDict), UnionElementOrMouseEvent {
|
||||
public external open class MouseEvent(type: String, eventInitDict: MouseEventInit = noImpl) : UIEvent(type, eventInitDict), UnionElementOrMouseEvent {
|
||||
open val region: String?
|
||||
get() = noImpl
|
||||
open val screenX: Int
|
||||
@@ -104,7 +104,7 @@ public inline fun FocusEventInit(relatedTarget: EventTarget? = null, view: Windo
|
||||
fun getModifierState(keyArg: String): Boolean = noImpl
|
||||
}
|
||||
|
||||
@native public interface MouseEventInit : EventModifierInit {
|
||||
public external interface MouseEventInit : EventModifierInit {
|
||||
var screenX: Int? /* = 0 */
|
||||
var screenY: Int? /* = 0 */
|
||||
var clientX: Int? /* = 0 */
|
||||
@@ -148,7 +148,7 @@ public inline fun MouseEventInit(screenX: Int? = 0, screenY: Int? = 0, clientX:
|
||||
return o
|
||||
}
|
||||
|
||||
@native public interface EventModifierInit : UIEventInit {
|
||||
public external interface EventModifierInit : UIEventInit {
|
||||
var ctrlKey: Boolean? /* = false */
|
||||
var shiftKey: Boolean? /* = false */
|
||||
var altKey: Boolean? /* = false */
|
||||
@@ -192,7 +192,7 @@ public inline fun EventModifierInit(ctrlKey: Boolean? = false, shiftKey: Boolean
|
||||
return o
|
||||
}
|
||||
|
||||
@native public open class WheelEvent(type: String, eventInitDict: WheelEventInit = noImpl) : MouseEvent(type, eventInitDict) {
|
||||
public external open class WheelEvent(type: String, eventInitDict: WheelEventInit = noImpl) : MouseEvent(type, eventInitDict) {
|
||||
open val deltaX: Double
|
||||
get() = noImpl
|
||||
open val deltaY: Double
|
||||
@@ -209,7 +209,7 @@ public inline fun EventModifierInit(ctrlKey: Boolean? = false, shiftKey: Boolean
|
||||
}
|
||||
}
|
||||
|
||||
@native public interface WheelEventInit : MouseEventInit {
|
||||
public external interface WheelEventInit : MouseEventInit {
|
||||
var deltaX: Double? /* = 0.0 */
|
||||
var deltaY: Double? /* = 0.0 */
|
||||
var deltaZ: Double? /* = 0.0 */
|
||||
@@ -254,14 +254,14 @@ public inline fun WheelEventInit(deltaX: Double? = 0.0, deltaY: Double? = 0.0, d
|
||||
return o
|
||||
}
|
||||
|
||||
@native public open class InputEvent(type: String, eventInitDict: InputEventInit = noImpl) : UIEvent(type, eventInitDict) {
|
||||
public external open class InputEvent(type: String, eventInitDict: InputEventInit = noImpl) : UIEvent(type, eventInitDict) {
|
||||
open val data: String
|
||||
get() = noImpl
|
||||
open val isComposing: Boolean
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public interface InputEventInit : UIEventInit {
|
||||
public external interface InputEventInit : UIEventInit {
|
||||
var data: String? /* = "" */
|
||||
var isComposing: Boolean? /* = false */
|
||||
}
|
||||
@@ -281,7 +281,7 @@ public inline fun InputEventInit(data: String? = "", isComposing: Boolean? = fal
|
||||
return o
|
||||
}
|
||||
|
||||
@native public open class KeyboardEvent(type: String, eventInitDict: KeyboardEventInit = noImpl) : UIEvent(type, eventInitDict) {
|
||||
public external open class KeyboardEvent(type: String, eventInitDict: KeyboardEventInit = noImpl) : UIEvent(type, eventInitDict) {
|
||||
open val key: String
|
||||
get() = noImpl
|
||||
open val code: String
|
||||
@@ -316,7 +316,7 @@ public inline fun InputEventInit(data: String? = "", isComposing: Boolean? = fal
|
||||
}
|
||||
}
|
||||
|
||||
@native public interface KeyboardEventInit : EventModifierInit {
|
||||
public external interface KeyboardEventInit : EventModifierInit {
|
||||
var key: String? /* = "" */
|
||||
var code: String? /* = "" */
|
||||
var location: Int? /* = 0 */
|
||||
@@ -356,12 +356,12 @@ public inline fun KeyboardEventInit(key: String? = "", code: String? = "", locat
|
||||
return o
|
||||
}
|
||||
|
||||
@native public open class CompositionEvent(type: String, eventInitDict: CompositionEventInit = noImpl) : UIEvent(type, eventInitDict) {
|
||||
public external open class CompositionEvent(type: String, eventInitDict: CompositionEventInit = noImpl) : UIEvent(type, eventInitDict) {
|
||||
open val data: String
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public interface CompositionEventInit : UIEventInit {
|
||||
public external interface CompositionEventInit : UIEventInit {
|
||||
var data: String? /* = "" */
|
||||
}
|
||||
|
||||
@@ -379,7 +379,7 @@ public inline fun CompositionEventInit(data: String? = "", view: Window? = null,
|
||||
return o
|
||||
}
|
||||
|
||||
@native public open class Event(type: String, eventInitDict: EventInit = noImpl) {
|
||||
public external open class Event(type: String, eventInitDict: EventInit = noImpl) {
|
||||
open val type: String
|
||||
get() = noImpl
|
||||
open val target: EventTarget?
|
||||
@@ -414,7 +414,7 @@ public inline fun CompositionEventInit(data: String? = "", view: Window? = null,
|
||||
}
|
||||
}
|
||||
|
||||
@native public abstract class EventTarget {
|
||||
public external abstract class EventTarget {
|
||||
fun addEventListener(type: String, callback: EventListener?, options: dynamic = noImpl): Unit = noImpl
|
||||
fun addEventListener(type: String, callback: ((Event) -> Unit)?, options: dynamic = noImpl): Unit = noImpl
|
||||
fun removeEventListener(type: String, callback: EventListener?, options: dynamic = noImpl): Unit = noImpl
|
||||
@@ -422,7 +422,7 @@ public inline fun CompositionEventInit(data: String? = "", view: Window? = null,
|
||||
fun dispatchEvent(event: Event): Boolean = noImpl
|
||||
}
|
||||
|
||||
@native public interface EventListener {
|
||||
public external interface EventListener {
|
||||
fun handleEvent(event: Event): Unit = noImpl
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -20,11 +20,11 @@ import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
@native public open class DOMParser {
|
||||
public external open class DOMParser {
|
||||
fun parseFromString(str: String, type: dynamic): Document = noImpl
|
||||
}
|
||||
|
||||
@native public open class XMLSerializer {
|
||||
public external open class XMLSerializer {
|
||||
fun serializeToString(root: Node): String = noImpl
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
@native public abstract class SVGElement : Element(), ElementCSSInlineStyle, GlobalEventHandlers, SVGElementInstance {
|
||||
public external abstract class SVGElement : Element(), ElementCSSInlineStyle, GlobalEventHandlers, SVGElementInstance {
|
||||
open val dataset: DOMStringMap
|
||||
get() = noImpl
|
||||
open val ownerSVGElement: SVGSVGElement?
|
||||
@@ -34,7 +34,7 @@ import org.w3c.xhr.*
|
||||
fun blur(): Unit = noImpl
|
||||
}
|
||||
|
||||
@native public interface SVGBoundingBoxOptions {
|
||||
public external interface SVGBoundingBoxOptions {
|
||||
var fill: Boolean? /* = true */
|
||||
var stroke: Boolean? /* = false */
|
||||
var markers: Boolean? /* = false */
|
||||
@@ -53,7 +53,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
return o
|
||||
}
|
||||
|
||||
@native public abstract class SVGGraphicsElement : SVGElement(), SVGTests {
|
||||
public external abstract class SVGGraphicsElement : SVGElement(), SVGTests {
|
||||
open val transform: SVGAnimatedTransformList
|
||||
get() = noImpl
|
||||
fun getBBox(options: SVGBoundingBoxOptions = noImpl): DOMRect = noImpl
|
||||
@@ -61,7 +61,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
fun getScreenCTM(): DOMMatrix? = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGGeometryElement : SVGGraphicsElement() {
|
||||
public external abstract class SVGGeometryElement : SVGGraphicsElement() {
|
||||
open val pathLength: SVGAnimatedNumber
|
||||
get() = noImpl
|
||||
fun isPointInFill(point: DOMPoint): Boolean = noImpl
|
||||
@@ -70,13 +70,13 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
fun getPointAtLength(distance: Float): DOMPoint = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGNumber {
|
||||
public external abstract class SVGNumber {
|
||||
open var value: Float
|
||||
get() = noImpl
|
||||
set(value) = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGLength {
|
||||
public external abstract class SVGLength {
|
||||
open val unitType: Short
|
||||
get() = noImpl
|
||||
open var value: Float
|
||||
@@ -106,7 +106,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
}
|
||||
}
|
||||
|
||||
@native public abstract class SVGAngle {
|
||||
public external abstract class SVGAngle {
|
||||
open val unitType: Short
|
||||
get() = noImpl
|
||||
open var value: Float
|
||||
@@ -130,7 +130,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
}
|
||||
}
|
||||
|
||||
@native public abstract class SVGNameList {
|
||||
public external abstract class SVGNameList {
|
||||
open val length: Int
|
||||
get() = noImpl
|
||||
open val numberOfItems: Int
|
||||
@@ -148,7 +148,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
operator fun set(index: Int, newItem: dynamic): Unit = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGNumberList {
|
||||
public external abstract class SVGNumberList {
|
||||
open val length: Int
|
||||
get() = noImpl
|
||||
open val numberOfItems: Int
|
||||
@@ -166,7 +166,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
operator fun set(index: Int, newItem: SVGNumber): Unit = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGLengthList {
|
||||
public external abstract class SVGLengthList {
|
||||
open val length: Int
|
||||
get() = noImpl
|
||||
open val numberOfItems: Int
|
||||
@@ -184,7 +184,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
operator fun set(index: Int, newItem: SVGLength): Unit = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGAnimatedBoolean {
|
||||
public external abstract class SVGAnimatedBoolean {
|
||||
open var baseVal: Boolean
|
||||
get() = noImpl
|
||||
set(value) = noImpl
|
||||
@@ -192,7 +192,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGAnimatedEnumeration {
|
||||
public external abstract class SVGAnimatedEnumeration {
|
||||
open var baseVal: Short
|
||||
get() = noImpl
|
||||
set(value) = noImpl
|
||||
@@ -200,7 +200,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGAnimatedInteger {
|
||||
public external abstract class SVGAnimatedInteger {
|
||||
open var baseVal: Int
|
||||
get() = noImpl
|
||||
set(value) = noImpl
|
||||
@@ -208,7 +208,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGAnimatedNumber {
|
||||
public external abstract class SVGAnimatedNumber {
|
||||
open var baseVal: Float
|
||||
get() = noImpl
|
||||
set(value) = noImpl
|
||||
@@ -216,21 +216,21 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGAnimatedLength {
|
||||
public external abstract class SVGAnimatedLength {
|
||||
open val baseVal: SVGLength
|
||||
get() = noImpl
|
||||
open val animVal: SVGLength
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGAnimatedAngle {
|
||||
public external abstract class SVGAnimatedAngle {
|
||||
open val baseVal: SVGAngle
|
||||
get() = noImpl
|
||||
open val animVal: SVGAngle
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGAnimatedString {
|
||||
public external abstract class SVGAnimatedString {
|
||||
open var baseVal: String
|
||||
get() = noImpl
|
||||
set(value) = noImpl
|
||||
@@ -238,28 +238,28 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGAnimatedRect {
|
||||
public external abstract class SVGAnimatedRect {
|
||||
open val baseVal: DOMRect
|
||||
get() = noImpl
|
||||
open val animVal: DOMRectReadOnly
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGAnimatedNumberList {
|
||||
public external abstract class SVGAnimatedNumberList {
|
||||
open val baseVal: SVGNumberList
|
||||
get() = noImpl
|
||||
open val animVal: SVGNumberList
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGAnimatedLengthList {
|
||||
public external abstract class SVGAnimatedLengthList {
|
||||
open val baseVal: SVGLengthList
|
||||
get() = noImpl
|
||||
open val animVal: SVGLengthList
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGStringList {
|
||||
public external abstract class SVGStringList {
|
||||
open val length: Int
|
||||
get() = noImpl
|
||||
open val numberOfItems: Int
|
||||
@@ -277,7 +277,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
operator fun set(index: Int, newItem: String): Unit = noImpl
|
||||
}
|
||||
|
||||
@native public interface SVGUnitTypes {
|
||||
public external interface SVGUnitTypes {
|
||||
|
||||
companion object {
|
||||
val SVG_UNIT_TYPE_UNKNOWN: Short = 0
|
||||
@@ -286,21 +286,21 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
}
|
||||
}
|
||||
|
||||
@native public interface SVGTests {
|
||||
public external interface SVGTests {
|
||||
val requiredExtensions: SVGStringList
|
||||
get() = noImpl
|
||||
val systemLanguage: SVGStringList
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public interface SVGFitToViewBox {
|
||||
public external interface SVGFitToViewBox {
|
||||
val viewBox: SVGAnimatedRect
|
||||
get() = noImpl
|
||||
val preserveAspectRatio: SVGAnimatedPreserveAspectRatio
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public interface SVGZoomAndPan {
|
||||
public external interface SVGZoomAndPan {
|
||||
var zoomAndPan: Short
|
||||
get() = noImpl
|
||||
set(value) = noImpl
|
||||
@@ -312,12 +312,12 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
}
|
||||
}
|
||||
|
||||
@native public interface SVGURIReference {
|
||||
public external interface SVGURIReference {
|
||||
val href: SVGAnimatedString
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGSVGElement : SVGGraphicsElement(), SVGFitToViewBox, SVGZoomAndPan, WindowEventHandlers {
|
||||
public external abstract class SVGSVGElement : SVGGraphicsElement(), SVGFitToViewBox, SVGZoomAndPan, WindowEventHandlers {
|
||||
open val x: SVGAnimatedLength
|
||||
get() = noImpl
|
||||
open val y: SVGAnimatedLength
|
||||
@@ -357,28 +357,28 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
}
|
||||
}
|
||||
|
||||
@native public abstract class SVGGElement : SVGGraphicsElement() {
|
||||
public external abstract class SVGGElement : SVGGraphicsElement() {
|
||||
}
|
||||
|
||||
@native public abstract class SVGUnknownElement : SVGGraphicsElement() {
|
||||
public external abstract class SVGUnknownElement : SVGGraphicsElement() {
|
||||
}
|
||||
|
||||
@native public abstract class SVGDefsElement : SVGGraphicsElement() {
|
||||
public external abstract class SVGDefsElement : SVGGraphicsElement() {
|
||||
}
|
||||
|
||||
@native public abstract class SVGDescElement : SVGElement() {
|
||||
public external abstract class SVGDescElement : SVGElement() {
|
||||
}
|
||||
|
||||
@native public abstract class SVGMetadataElement : SVGElement() {
|
||||
public external abstract class SVGMetadataElement : SVGElement() {
|
||||
}
|
||||
|
||||
@native public abstract class SVGTitleElement : SVGElement() {
|
||||
public external abstract class SVGTitleElement : SVGElement() {
|
||||
}
|
||||
|
||||
@native public abstract class SVGSymbolElement : SVGGraphicsElement(), SVGFitToViewBox {
|
||||
public external abstract class SVGSymbolElement : SVGGraphicsElement(), SVGFitToViewBox {
|
||||
}
|
||||
|
||||
@native public abstract class SVGUseElement : SVGGraphicsElement(), SVGURIReference {
|
||||
public external abstract class SVGUseElement : SVGGraphicsElement(), SVGURIReference {
|
||||
open val x: SVGAnimatedLength
|
||||
get() = noImpl
|
||||
open val y: SVGAnimatedLength
|
||||
@@ -393,29 +393,29 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public open class SVGUseElementShadowRoot : ShadowRoot() {
|
||||
public external open class SVGUseElementShadowRoot : ShadowRoot() {
|
||||
}
|
||||
|
||||
@native public interface SVGElementInstance {
|
||||
public external interface SVGElementInstance {
|
||||
val correspondingElement: SVGElement?
|
||||
get() = noImpl
|
||||
val correspondingUseElement: SVGUseElement?
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public open class ShadowAnimation(source: dynamic, newTarget: dynamic) {
|
||||
public external open class ShadowAnimation(source: dynamic, newTarget: dynamic) {
|
||||
open val sourceAnimation: dynamic
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGSwitchElement : SVGGraphicsElement() {
|
||||
public external abstract class SVGSwitchElement : SVGGraphicsElement() {
|
||||
}
|
||||
|
||||
@native public interface GetSVGDocument {
|
||||
public external interface GetSVGDocument {
|
||||
fun getSVGDocument(): Document = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGStyleElement : SVGElement(), LinkStyle {
|
||||
public external abstract class SVGStyleElement : SVGElement(), LinkStyle {
|
||||
open var type: String
|
||||
get() = noImpl
|
||||
set(value) = noImpl
|
||||
@@ -427,7 +427,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
set(value) = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGTransform {
|
||||
public external abstract class SVGTransform {
|
||||
open val type: Short
|
||||
get() = noImpl
|
||||
open val matrix: DOMMatrix
|
||||
@@ -452,7 +452,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
}
|
||||
}
|
||||
|
||||
@native public abstract class SVGTransformList {
|
||||
public external abstract class SVGTransformList {
|
||||
open val length: Int
|
||||
get() = noImpl
|
||||
open val numberOfItems: Int
|
||||
@@ -472,14 +472,14 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
fun consolidate(): SVGTransform? = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGAnimatedTransformList {
|
||||
public external abstract class SVGAnimatedTransformList {
|
||||
open val baseVal: SVGTransformList
|
||||
get() = noImpl
|
||||
open val animVal: SVGTransformList
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGPreserveAspectRatio {
|
||||
public external abstract class SVGPreserveAspectRatio {
|
||||
open var align: Short
|
||||
get() = noImpl
|
||||
set(value) = noImpl
|
||||
@@ -505,17 +505,17 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
}
|
||||
}
|
||||
|
||||
@native public abstract class SVGAnimatedPreserveAspectRatio {
|
||||
public external abstract class SVGAnimatedPreserveAspectRatio {
|
||||
open val baseVal: SVGPreserveAspectRatio
|
||||
get() = noImpl
|
||||
open val animVal: SVGPreserveAspectRatio
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGPathElement : SVGGeometryElement() {
|
||||
public external abstract class SVGPathElement : SVGGeometryElement() {
|
||||
}
|
||||
|
||||
@native public abstract class SVGRectElement : SVGGeometryElement() {
|
||||
public external abstract class SVGRectElement : SVGGeometryElement() {
|
||||
open val x: SVGAnimatedLength
|
||||
get() = noImpl
|
||||
open val y: SVGAnimatedLength
|
||||
@@ -530,7 +530,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGCircleElement : SVGGeometryElement() {
|
||||
public external abstract class SVGCircleElement : SVGGeometryElement() {
|
||||
open val cx: SVGAnimatedLength
|
||||
get() = noImpl
|
||||
open val cy: SVGAnimatedLength
|
||||
@@ -539,7 +539,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGEllipseElement : SVGGeometryElement() {
|
||||
public external abstract class SVGEllipseElement : SVGGeometryElement() {
|
||||
open val cx: SVGAnimatedLength
|
||||
get() = noImpl
|
||||
open val cy: SVGAnimatedLength
|
||||
@@ -550,7 +550,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGLineElement : SVGGeometryElement() {
|
||||
public external abstract class SVGLineElement : SVGGeometryElement() {
|
||||
open val x1: SVGAnimatedLength
|
||||
get() = noImpl
|
||||
open val y1: SVGAnimatedLength
|
||||
@@ -561,17 +561,17 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGMeshElement : SVGGeometryElement(), SVGURIReference {
|
||||
public external abstract class SVGMeshElement : SVGGeometryElement(), SVGURIReference {
|
||||
}
|
||||
|
||||
@native public interface SVGAnimatedPoints {
|
||||
public external interface SVGAnimatedPoints {
|
||||
val points: SVGPointList
|
||||
get() = noImpl
|
||||
val animatedPoints: SVGPointList
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGPointList {
|
||||
public external abstract class SVGPointList {
|
||||
open val length: Int
|
||||
get() = noImpl
|
||||
open val numberOfItems: Int
|
||||
@@ -589,13 +589,13 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
operator fun set(index: Int, newItem: DOMPoint): Unit = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGPolylineElement : SVGGeometryElement(), SVGAnimatedPoints {
|
||||
public external abstract class SVGPolylineElement : SVGGeometryElement(), SVGAnimatedPoints {
|
||||
}
|
||||
|
||||
@native public abstract class SVGPolygonElement : SVGGeometryElement(), SVGAnimatedPoints {
|
||||
public external abstract class SVGPolygonElement : SVGGeometryElement(), SVGAnimatedPoints {
|
||||
}
|
||||
|
||||
@native public abstract class SVGTextContentElement : SVGGraphicsElement() {
|
||||
public external abstract class SVGTextContentElement : SVGGraphicsElement() {
|
||||
open val textLength: SVGAnimatedLength
|
||||
get() = noImpl
|
||||
open val lengthAdjust: SVGAnimatedEnumeration
|
||||
@@ -617,7 +617,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
}
|
||||
}
|
||||
|
||||
@native public abstract class SVGTextPositioningElement : SVGTextContentElement() {
|
||||
public external abstract class SVGTextPositioningElement : SVGTextContentElement() {
|
||||
open val x: SVGAnimatedLengthList
|
||||
get() = noImpl
|
||||
open val y: SVGAnimatedLengthList
|
||||
@@ -630,13 +630,13 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGTextElement : SVGTextPositioningElement() {
|
||||
public external abstract class SVGTextElement : SVGTextPositioningElement() {
|
||||
}
|
||||
|
||||
@native public abstract class SVGTSpanElement : SVGTextPositioningElement() {
|
||||
public external abstract class SVGTSpanElement : SVGTextPositioningElement() {
|
||||
}
|
||||
|
||||
@native public abstract class SVGTextPathElement : SVGTextContentElement(), SVGURIReference {
|
||||
public external abstract class SVGTextPathElement : SVGTextContentElement(), SVGURIReference {
|
||||
open val startOffset: SVGAnimatedLength
|
||||
get() = noImpl
|
||||
open val method: SVGAnimatedEnumeration
|
||||
@@ -654,7 +654,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
}
|
||||
}
|
||||
|
||||
@native public abstract class SVGImageElement : SVGGraphicsElement(), SVGURIReference, HTMLOrSVGImageElement {
|
||||
public external abstract class SVGImageElement : SVGGraphicsElement(), SVGURIReference, HTMLOrSVGImageElement {
|
||||
open val x: SVGAnimatedLength
|
||||
get() = noImpl
|
||||
open val y: SVGAnimatedLength
|
||||
@@ -670,7 +670,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
set(value) = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGForeignObjectElement : SVGGraphicsElement() {
|
||||
public external abstract class SVGForeignObjectElement : SVGGraphicsElement() {
|
||||
open val x: SVGAnimatedLength
|
||||
get() = noImpl
|
||||
open val y: SVGAnimatedLength
|
||||
@@ -681,7 +681,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGMarkerElement : SVGElement(), SVGFitToViewBox {
|
||||
public external abstract class SVGMarkerElement : SVGElement(), SVGFitToViewBox {
|
||||
open val refX: SVGAnimatedLength
|
||||
get() = noImpl
|
||||
open val refY: SVGAnimatedLength
|
||||
@@ -712,10 +712,10 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
}
|
||||
}
|
||||
|
||||
@native public abstract class SVGSolidcolorElement : SVGElement() {
|
||||
public external abstract class SVGSolidcolorElement : SVGElement() {
|
||||
}
|
||||
|
||||
@native public abstract class SVGGradientElement : SVGElement(), SVGURIReference, SVGUnitTypes {
|
||||
public external abstract class SVGGradientElement : SVGElement(), SVGURIReference, SVGUnitTypes {
|
||||
open val gradientUnits: SVGAnimatedEnumeration
|
||||
get() = noImpl
|
||||
open val gradientTransform: SVGAnimatedTransformList
|
||||
@@ -734,7 +734,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
}
|
||||
}
|
||||
|
||||
@native public abstract class SVGLinearGradientElement : SVGGradientElement() {
|
||||
public external abstract class SVGLinearGradientElement : SVGGradientElement() {
|
||||
open val x1: SVGAnimatedLength
|
||||
get() = noImpl
|
||||
open val y1: SVGAnimatedLength
|
||||
@@ -745,7 +745,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGRadialGradientElement : SVGGradientElement() {
|
||||
public external abstract class SVGRadialGradientElement : SVGGradientElement() {
|
||||
open val cx: SVGAnimatedLength
|
||||
get() = noImpl
|
||||
open val cy: SVGAnimatedLength
|
||||
@@ -760,21 +760,21 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGMeshGradientElement : SVGGradientElement() {
|
||||
public external abstract class SVGMeshGradientElement : SVGGradientElement() {
|
||||
}
|
||||
|
||||
@native public abstract class SVGMeshrowElement : SVGElement() {
|
||||
public external abstract class SVGMeshrowElement : SVGElement() {
|
||||
}
|
||||
|
||||
@native public abstract class SVGMeshpatchElement : SVGElement() {
|
||||
public external abstract class SVGMeshpatchElement : SVGElement() {
|
||||
}
|
||||
|
||||
@native public abstract class SVGStopElement : SVGElement() {
|
||||
public external abstract class SVGStopElement : SVGElement() {
|
||||
open val offset: SVGAnimatedNumber
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGPatternElement : SVGElement(), SVGFitToViewBox, SVGURIReference, SVGUnitTypes {
|
||||
public external abstract class SVGPatternElement : SVGElement(), SVGFitToViewBox, SVGURIReference, SVGUnitTypes {
|
||||
open val patternUnits: SVGAnimatedEnumeration
|
||||
get() = noImpl
|
||||
open val patternContentUnits: SVGAnimatedEnumeration
|
||||
@@ -797,20 +797,20 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
}
|
||||
}
|
||||
|
||||
@native public abstract class SVGHatchElement : SVGElement() {
|
||||
public external abstract class SVGHatchElement : SVGElement() {
|
||||
}
|
||||
|
||||
@native public abstract class SVGHatchpathElement : SVGElement() {
|
||||
public external abstract class SVGHatchpathElement : SVGElement() {
|
||||
}
|
||||
|
||||
@native public abstract class SVGCursorElement : SVGElement(), SVGURIReference {
|
||||
public external abstract class SVGCursorElement : SVGElement(), SVGURIReference {
|
||||
open val x: SVGAnimatedLength
|
||||
get() = noImpl
|
||||
open val y: SVGAnimatedLength
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGScriptElement : SVGElement(), SVGURIReference, HTMLOrSVGScriptElement {
|
||||
public external abstract class SVGScriptElement : SVGElement(), SVGURIReference, HTMLOrSVGScriptElement {
|
||||
open var type: String
|
||||
get() = noImpl
|
||||
set(value) = noImpl
|
||||
@@ -819,7 +819,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
set(value) = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGAElement : SVGGraphicsElement(), SVGURIReference {
|
||||
public external abstract class SVGAElement : SVGGraphicsElement(), SVGURIReference {
|
||||
open val target: SVGAnimatedString
|
||||
get() = noImpl
|
||||
open val download: SVGAnimatedString
|
||||
@@ -834,7 +834,7 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class SVGViewElement : SVGElement(), SVGFitToViewBox, SVGZoomAndPan {
|
||||
public external abstract class SVGViewElement : SVGElement(), SVGFitToViewBox, SVGZoomAndPan {
|
||||
|
||||
companion object {
|
||||
val SVG_ZOOMANDPAN_UNKNOWN: Short = 0
|
||||
|
||||
@@ -20,7 +20,7 @@ import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
@native public open class URL(url: String, base: String = noImpl) {
|
||||
public external open class URL(url: String, base: String = noImpl) {
|
||||
var href: String
|
||||
get() = noImpl
|
||||
set(value) = noImpl
|
||||
@@ -65,7 +65,7 @@ import org.w3c.xhr.*
|
||||
}
|
||||
}
|
||||
|
||||
@native public open class URLSearchParams(init: dynamic = "") {
|
||||
public external open class URLSearchParams(init: dynamic = "") {
|
||||
fun append(name: String, value: String): Unit = noImpl
|
||||
fun delete(name: String): Unit = noImpl
|
||||
fun get(name: String): String? = noImpl
|
||||
|
||||
@@ -20,7 +20,7 @@ import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
@native public open class Headers(init: dynamic = noImpl) {
|
||||
public external open class Headers(init: dynamic = noImpl) {
|
||||
fun append(name: String, value: String): Unit = noImpl
|
||||
fun delete(name: String): Unit = noImpl
|
||||
fun get(name: String): String? = noImpl
|
||||
@@ -28,7 +28,7 @@ import org.w3c.xhr.*
|
||||
fun set(name: String, value: String): Unit = noImpl
|
||||
}
|
||||
|
||||
@native public interface Body {
|
||||
public external interface Body {
|
||||
val bodyUsed: Boolean
|
||||
get() = noImpl
|
||||
fun arrayBuffer(): dynamic = noImpl
|
||||
@@ -38,7 +38,7 @@ import org.w3c.xhr.*
|
||||
fun text(): dynamic = noImpl
|
||||
}
|
||||
|
||||
@native public open class Request(input: dynamic, init: RequestInit = noImpl) : Body {
|
||||
public external open class Request(input: dynamic, init: RequestInit = noImpl) : Body {
|
||||
open val method: String
|
||||
get() = noImpl
|
||||
open val url: String
|
||||
@@ -68,7 +68,7 @@ import org.w3c.xhr.*
|
||||
fun clone(): Request = noImpl
|
||||
}
|
||||
|
||||
@native public interface RequestInit {
|
||||
public external interface RequestInit {
|
||||
var method: String?
|
||||
var headers: dynamic
|
||||
var body: dynamic
|
||||
@@ -103,7 +103,7 @@ public inline fun RequestInit(method: String?, headers: dynamic, body: dynamic,
|
||||
return o
|
||||
}
|
||||
|
||||
@native public open class Response(body: dynamic = null, init: ResponseInit = noImpl) : Body {
|
||||
public external open class Response(body: dynamic = null, init: ResponseInit = noImpl) : Body {
|
||||
open val type: String
|
||||
get() = noImpl
|
||||
open val url: String
|
||||
@@ -130,7 +130,7 @@ public inline fun RequestInit(method: String?, headers: dynamic, body: dynamic,
|
||||
}
|
||||
}
|
||||
|
||||
@native public interface ResponseInit {
|
||||
public external interface ResponseInit {
|
||||
var status: Short? /* = 200 */
|
||||
var statusText: String? /* = "OK" */
|
||||
var headers: dynamic
|
||||
|
||||
@@ -20,7 +20,7 @@ import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
@native public open class Blob(blobParts: Array<dynamic> = noImpl, options: BlobPropertyBag = noImpl) {
|
||||
public external open class Blob(blobParts: Array<dynamic> = noImpl, options: BlobPropertyBag = noImpl) {
|
||||
open val size: Int
|
||||
get() = noImpl
|
||||
open val type: String
|
||||
@@ -31,7 +31,7 @@ import org.w3c.xhr.*
|
||||
fun close(): Unit = noImpl
|
||||
}
|
||||
|
||||
@native public interface BlobPropertyBag {
|
||||
public external interface BlobPropertyBag {
|
||||
var type: String? /* = "" */
|
||||
}
|
||||
|
||||
@@ -44,14 +44,14 @@ public inline fun BlobPropertyBag(type: String? = ""): BlobPropertyBag {
|
||||
return o
|
||||
}
|
||||
|
||||
@native public open class File(fileBits: Array<dynamic>, fileName: String, options: FilePropertyBag = noImpl) : Blob(noImpl, options) {
|
||||
public external open class File(fileBits: Array<dynamic>, fileName: String, options: FilePropertyBag = noImpl) : Blob(noImpl, options) {
|
||||
open val name: String
|
||||
get() = noImpl
|
||||
open val lastModified: Int
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public interface FilePropertyBag : BlobPropertyBag {
|
||||
public external interface FilePropertyBag : BlobPropertyBag {
|
||||
var lastModified: Int?
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ public inline fun FilePropertyBag(lastModified: Int?, type: String? = ""): FileP
|
||||
return o
|
||||
}
|
||||
|
||||
@native public abstract class FileList {
|
||||
public external abstract class FileList {
|
||||
open val length: Int
|
||||
get() = noImpl
|
||||
fun item(index: Int): File? = noImpl
|
||||
@@ -73,7 +73,7 @@ public inline fun FilePropertyBag(lastModified: Int?, type: String? = ""): FileP
|
||||
operator fun get(index: Int): File? = noImpl
|
||||
}
|
||||
|
||||
@native public open class FileReader : EventTarget() {
|
||||
public external open class FileReader : EventTarget() {
|
||||
open val readyState: Short
|
||||
get() = noImpl
|
||||
open val result: dynamic
|
||||
@@ -111,7 +111,7 @@ public inline fun FilePropertyBag(lastModified: Int?, type: String? = ""): FileP
|
||||
}
|
||||
}
|
||||
|
||||
@native public open class FileReaderSync {
|
||||
public external open class FileReaderSync {
|
||||
fun readAsArrayBuffer(blob: Blob): ArrayBuffer = noImpl
|
||||
fun readAsBinaryString(blob: Blob): String = noImpl
|
||||
fun readAsText(blob: Blob, label: String = noImpl): String = noImpl
|
||||
|
||||
@@ -20,7 +20,7 @@ import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
@native public open class Notification(title: String, options: NotificationOptions = noImpl) : EventTarget() {
|
||||
public external open class Notification(title: String, options: NotificationOptions = noImpl) : EventTarget() {
|
||||
var onclick: ((Event) -> dynamic)?
|
||||
get() = noImpl
|
||||
set(value) = noImpl
|
||||
@@ -45,7 +45,7 @@ import org.w3c.xhr.*
|
||||
get() = noImpl
|
||||
open val sound: String
|
||||
get() = noImpl
|
||||
open val vibrate: dynamic
|
||||
open val attribute: dynamic
|
||||
get() = noImpl
|
||||
open val timestamp: Number
|
||||
get() = noImpl
|
||||
@@ -61,8 +61,9 @@ import org.w3c.xhr.*
|
||||
get() = noImpl
|
||||
open val data: Any?
|
||||
get() = noImpl
|
||||
open val actions: dynamic
|
||||
open val NotificationAction: dynamic
|
||||
get() = noImpl
|
||||
fun vibrate(): dynamic = noImpl
|
||||
fun close(): Unit = noImpl
|
||||
|
||||
companion object {
|
||||
@@ -76,7 +77,7 @@ import org.w3c.xhr.*
|
||||
}
|
||||
}
|
||||
|
||||
@native public interface NotificationOptions {
|
||||
public external interface NotificationOptions {
|
||||
var dir: String? /* = "auto" */
|
||||
var lang: String? /* = "" */
|
||||
var body: String? /* = "" */
|
||||
@@ -121,7 +122,7 @@ public inline fun NotificationOptions(dir: String? = "auto", lang: String? = "",
|
||||
return o
|
||||
}
|
||||
|
||||
@native public interface NotificationAction {
|
||||
public external interface NotificationAction {
|
||||
var action: String?
|
||||
var title: String?
|
||||
var icon: String?
|
||||
@@ -138,7 +139,7 @@ public inline fun NotificationAction(action: String?, title: String?, icon: Stri
|
||||
return o
|
||||
}
|
||||
|
||||
@native public interface GetNotificationOptions {
|
||||
public external interface GetNotificationOptions {
|
||||
var tag: String? /* = "" */
|
||||
}
|
||||
|
||||
@@ -151,14 +152,14 @@ public inline fun GetNotificationOptions(tag: String? = ""): GetNotificationOpti
|
||||
return o
|
||||
}
|
||||
|
||||
@native public open class NotificationEvent(type: String, eventInitDict: NotificationEventInit) : ExtendableEvent(type, eventInitDict) {
|
||||
public external open class NotificationEvent(type: String, eventInitDict: NotificationEventInit) : ExtendableEvent(type, eventInitDict) {
|
||||
open val notification: Notification
|
||||
get() = noImpl
|
||||
open val action: String
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public interface NotificationEventInit : ExtendableEventInit {
|
||||
public external interface NotificationEventInit : ExtendableEventInit {
|
||||
var notification: Notification?
|
||||
var action: String? /* = "" */
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ import org.w3c.notifications.*
|
||||
import org.w3c.workers.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
@native public abstract class Performance : EventTarget() {
|
||||
public external abstract class Performance : EventTarget() {
|
||||
open val timing: PerformanceTiming
|
||||
get() = noImpl
|
||||
open val navigation: PerformanceNavigation
|
||||
@@ -28,12 +28,12 @@ import org.w3c.xhr.*
|
||||
fun now(): Double = noImpl
|
||||
}
|
||||
|
||||
@native public interface GlobalPerformance {
|
||||
public external interface GlobalPerformance {
|
||||
val performance: Performance
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class PerformanceTiming {
|
||||
public external abstract class PerformanceTiming {
|
||||
open val navigationStart: Int
|
||||
get() = noImpl
|
||||
open val unloadEventStart: Int
|
||||
@@ -78,7 +78,7 @@ import org.w3c.xhr.*
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class PerformanceNavigation {
|
||||
public external abstract class PerformanceNavigation {
|
||||
open val type: Short
|
||||
get() = noImpl
|
||||
open val redirectCount: Short
|
||||
|
||||
@@ -20,7 +20,7 @@ import org.w3c.notifications.*
|
||||
import org.w3c.performance.*
|
||||
import org.w3c.xhr.*
|
||||
|
||||
@native public abstract class ServiceWorkerRegistration : EventTarget() {
|
||||
public external abstract class ServiceWorkerRegistration : EventTarget() {
|
||||
open val installing: ServiceWorker?
|
||||
get() = noImpl
|
||||
open val waiting: ServiceWorker?
|
||||
@@ -41,7 +41,7 @@ import org.w3c.xhr.*
|
||||
fun getNotifications(filter: GetNotificationOptions = noImpl): dynamic = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class ServiceWorkerGlobalScope : WorkerGlobalScope() {
|
||||
public external abstract class ServiceWorkerGlobalScope : WorkerGlobalScope() {
|
||||
open val clients: Clients
|
||||
get() = noImpl
|
||||
open val registration: ServiceWorkerRegistration
|
||||
@@ -73,7 +73,7 @@ import org.w3c.xhr.*
|
||||
fun skipWaiting(): dynamic = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class ServiceWorker : EventTarget(), AbstractWorker, UnionMessagePortOrServiceWorker, UnionClientOrMessagePortOrServiceWorker {
|
||||
public external abstract class ServiceWorker : EventTarget(), AbstractWorker, UnionMessagePortOrServiceWorker, UnionClientOrMessagePortOrServiceWorker {
|
||||
open val scriptURL: String
|
||||
get() = noImpl
|
||||
open val state: String
|
||||
@@ -84,7 +84,7 @@ import org.w3c.xhr.*
|
||||
fun postMessage(message: Any?, transfer: Array<dynamic> = noImpl): Unit = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class ServiceWorkerContainer : EventTarget() {
|
||||
public external abstract class ServiceWorkerContainer : EventTarget() {
|
||||
open val controller: ServiceWorker?
|
||||
get() = noImpl
|
||||
open val ready: dynamic
|
||||
@@ -101,7 +101,7 @@ import org.w3c.xhr.*
|
||||
fun startMessages(): Unit = noImpl
|
||||
}
|
||||
|
||||
@native public interface RegistrationOptions {
|
||||
public external interface RegistrationOptions {
|
||||
var scope: String?
|
||||
var type: String? /* = "classic" */
|
||||
}
|
||||
@@ -116,7 +116,7 @@ public inline fun RegistrationOptions(scope: String?, type: String? = "classic")
|
||||
return o
|
||||
}
|
||||
|
||||
@native public open class ServiceWorkerMessageEvent(type: String, eventInitDict: ServiceWorkerMessageEventInit = noImpl) : Event(type, eventInitDict) {
|
||||
public external open class ServiceWorkerMessageEvent(type: String, eventInitDict: ServiceWorkerMessageEventInit = noImpl) : Event(type, eventInitDict) {
|
||||
open val data: Any?
|
||||
get() = noImpl
|
||||
open val origin: String
|
||||
@@ -125,11 +125,11 @@ public inline fun RegistrationOptions(scope: String?, type: String? = "classic")
|
||||
get() = noImpl
|
||||
open val source: UnionMessagePortOrServiceWorker?
|
||||
get() = noImpl
|
||||
open val ports: dynamic
|
||||
open val MessagePort: dynamic
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public interface ServiceWorkerMessageEventInit : EventInit {
|
||||
public external interface ServiceWorkerMessageEventInit : EventInit {
|
||||
var data: Any?
|
||||
var origin: String?
|
||||
var lastEventId: String?
|
||||
@@ -153,7 +153,7 @@ public inline fun ServiceWorkerMessageEventInit(data: Any?, origin: String?, las
|
||||
return o
|
||||
}
|
||||
|
||||
@native public abstract class Client : UnionClientOrMessagePortOrServiceWorker {
|
||||
public external abstract class Client : UnionClientOrMessagePortOrServiceWorker {
|
||||
open val url: String
|
||||
get() = noImpl
|
||||
open val frameType: String
|
||||
@@ -163,7 +163,7 @@ public inline fun ServiceWorkerMessageEventInit(data: Any?, origin: String?, las
|
||||
fun postMessage(message: Any?, transfer: Array<dynamic> = noImpl): Unit = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class WindowClient : Client() {
|
||||
public external abstract class WindowClient : Client() {
|
||||
open val visibilityState: dynamic
|
||||
get() = noImpl
|
||||
open val focused: Boolean
|
||||
@@ -172,14 +172,14 @@ public inline fun ServiceWorkerMessageEventInit(data: Any?, origin: String?, las
|
||||
fun navigate(url: String): dynamic = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class Clients {
|
||||
public external abstract class Clients {
|
||||
fun get(id: String): dynamic = noImpl
|
||||
fun matchAll(options: ClientQueryOptions = noImpl): dynamic = noImpl
|
||||
fun openWindow(url: String): dynamic = noImpl
|
||||
fun claim(): dynamic = noImpl
|
||||
}
|
||||
|
||||
@native public interface ClientQueryOptions {
|
||||
public external interface ClientQueryOptions {
|
||||
var includeUncontrolled: Boolean? /* = false */
|
||||
var type: String? /* = "window" */
|
||||
}
|
||||
@@ -194,11 +194,11 @@ public inline fun ClientQueryOptions(includeUncontrolled: Boolean? = false, type
|
||||
return o
|
||||
}
|
||||
|
||||
@native public open class ExtendableEvent(type: String, eventInitDict: ExtendableEventInit = noImpl) : Event(type, eventInitDict) {
|
||||
public external open class ExtendableEvent(type: String, eventInitDict: ExtendableEventInit = noImpl) : Event(type, eventInitDict) {
|
||||
fun waitUntil(f: dynamic): Unit = noImpl
|
||||
}
|
||||
|
||||
@native public interface ExtendableEventInit : EventInit {
|
||||
public external interface ExtendableEventInit : EventInit {
|
||||
}
|
||||
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
@@ -212,11 +212,11 @@ public inline fun ExtendableEventInit(bubbles: Boolean? = false, cancelable: Boo
|
||||
return o
|
||||
}
|
||||
|
||||
@native public open class InstallEvent(type: String, eventInitDict: ExtendableEventInit = noImpl) : ExtendableEvent(type, eventInitDict) {
|
||||
public external open class InstallEvent(type: String, eventInitDict: ExtendableEventInit = noImpl) : ExtendableEvent(type, eventInitDict) {
|
||||
fun registerForeignFetch(options: ForeignFetchOptions): Unit = noImpl
|
||||
}
|
||||
|
||||
@native public interface ForeignFetchOptions {
|
||||
public external interface ForeignFetchOptions {
|
||||
var scopes: Array<String>?
|
||||
var origins: Array<String>?
|
||||
}
|
||||
@@ -231,7 +231,7 @@ public inline fun ForeignFetchOptions(scopes: Array<String>?, origins: Array<Str
|
||||
return o
|
||||
}
|
||||
|
||||
@native public open class FetchEvent(type: String, eventInitDict: FetchEventInit) : ExtendableEvent(type, eventInitDict) {
|
||||
public external open class FetchEvent(type: String, eventInitDict: FetchEventInit) : ExtendableEvent(type, eventInitDict) {
|
||||
open val request: Request
|
||||
get() = noImpl
|
||||
open val clientId: String?
|
||||
@@ -241,7 +241,7 @@ public inline fun ForeignFetchOptions(scopes: Array<String>?, origins: Array<Str
|
||||
fun respondWith(r: dynamic): Unit = noImpl
|
||||
}
|
||||
|
||||
@native public interface FetchEventInit : ExtendableEventInit {
|
||||
public external interface FetchEventInit : ExtendableEventInit {
|
||||
var request: Request?
|
||||
var clientId: String? /* = null */
|
||||
var isReload: Boolean? /* = false */
|
||||
@@ -261,7 +261,7 @@ public inline fun FetchEventInit(request: Request?, clientId: String? = null, is
|
||||
return o
|
||||
}
|
||||
|
||||
@native public open class ForeignFetchEvent(type: String, eventInitDict: ForeignFetchEventInit) : ExtendableEvent(type, eventInitDict) {
|
||||
public external open class ForeignFetchEvent(type: String, eventInitDict: ForeignFetchEventInit) : ExtendableEvent(type, eventInitDict) {
|
||||
open val request: Request
|
||||
get() = noImpl
|
||||
open val origin: String
|
||||
@@ -269,7 +269,7 @@ public inline fun FetchEventInit(request: Request?, clientId: String? = null, is
|
||||
fun respondWith(r: dynamic): Unit = noImpl
|
||||
}
|
||||
|
||||
@native public interface ForeignFetchEventInit : ExtendableEventInit {
|
||||
public external interface ForeignFetchEventInit : ExtendableEventInit {
|
||||
var request: Request?
|
||||
var origin: String? /* = "null" */
|
||||
}
|
||||
@@ -287,7 +287,7 @@ public inline fun ForeignFetchEventInit(request: Request?, origin: String? = "nu
|
||||
return o
|
||||
}
|
||||
|
||||
@native public interface ForeignFetchResponse {
|
||||
public external interface ForeignFetchResponse {
|
||||
var response: Response?
|
||||
var origin: String?
|
||||
var headers: Array<String>?
|
||||
@@ -304,7 +304,7 @@ public inline fun ForeignFetchResponse(response: Response?, origin: String?, hea
|
||||
return o
|
||||
}
|
||||
|
||||
@native public open class ExtendableMessageEvent(type: String, eventInitDict: ExtendableMessageEventInit = noImpl) : ExtendableEvent(type, eventInitDict) {
|
||||
public external open class ExtendableMessageEvent(type: String, eventInitDict: ExtendableMessageEventInit = noImpl) : ExtendableEvent(type, eventInitDict) {
|
||||
open val data: Any?
|
||||
get() = noImpl
|
||||
open val origin: String
|
||||
@@ -313,11 +313,11 @@ public inline fun ForeignFetchResponse(response: Response?, origin: String?, hea
|
||||
get() = noImpl
|
||||
open val source: UnionClientOrMessagePortOrServiceWorker?
|
||||
get() = noImpl
|
||||
open val ports: dynamic
|
||||
open val MessagePort: dynamic
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public interface ExtendableMessageEventInit : ExtendableEventInit {
|
||||
public external interface ExtendableMessageEventInit : ExtendableEventInit {
|
||||
var data: Any?
|
||||
var origin: String?
|
||||
var lastEventId: String?
|
||||
@@ -341,7 +341,7 @@ public inline fun ExtendableMessageEventInit(data: Any?, origin: String?, lastEv
|
||||
return o
|
||||
}
|
||||
|
||||
@native public abstract class Cache {
|
||||
public external abstract class Cache {
|
||||
fun match(request: dynamic, options: CacheQueryOptions = noImpl): dynamic = noImpl
|
||||
fun matchAll(request: dynamic = noImpl, options: CacheQueryOptions = noImpl): dynamic = noImpl
|
||||
fun add(request: dynamic): dynamic = noImpl
|
||||
@@ -351,7 +351,7 @@ public inline fun ExtendableMessageEventInit(data: Any?, origin: String?, lastEv
|
||||
fun keys(request: dynamic = noImpl, options: CacheQueryOptions = noImpl): dynamic = noImpl
|
||||
}
|
||||
|
||||
@native public interface CacheQueryOptions {
|
||||
public external interface CacheQueryOptions {
|
||||
var ignoreSearch: Boolean? /* = false */
|
||||
var ignoreMethod: Boolean? /* = false */
|
||||
var ignoreVary: Boolean? /* = false */
|
||||
@@ -370,7 +370,7 @@ public inline fun CacheQueryOptions(ignoreSearch: Boolean? = false, ignoreMethod
|
||||
return o
|
||||
}
|
||||
|
||||
@native public interface CacheBatchOperation {
|
||||
public external interface CacheBatchOperation {
|
||||
var type: String?
|
||||
var request: Request?
|
||||
var response: Response?
|
||||
@@ -389,7 +389,7 @@ public inline fun CacheBatchOperation(type: String?, request: Request?, response
|
||||
return o
|
||||
}
|
||||
|
||||
@native public abstract class CacheStorage {
|
||||
public external abstract class CacheStorage {
|
||||
fun match(request: dynamic, options: CacheQueryOptions = noImpl): dynamic = noImpl
|
||||
fun has(cacheName: String): dynamic = noImpl
|
||||
fun open(cacheName: String): dynamic = noImpl
|
||||
@@ -397,9 +397,9 @@ public inline fun CacheBatchOperation(type: String?, request: Request?, response
|
||||
fun keys(): dynamic = noImpl
|
||||
}
|
||||
|
||||
@native public open class FunctionalEvent : ExtendableEvent(noImpl, noImpl) {
|
||||
public external open class FunctionalEvent : ExtendableEvent(noImpl, noImpl) {
|
||||
}
|
||||
|
||||
@native public @marker interface UnionClientOrMessagePortOrServiceWorker {
|
||||
public external @marker interface UnionClientOrMessagePortOrServiceWorker {
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ import org.w3c.notifications.*
|
||||
import org.w3c.performance.*
|
||||
import org.w3c.workers.*
|
||||
|
||||
@native public abstract class XMLHttpRequestEventTarget : EventTarget() {
|
||||
public external abstract class XMLHttpRequestEventTarget : EventTarget() {
|
||||
open var onloadstart: ((Event) -> dynamic)?
|
||||
get() = noImpl
|
||||
set(value) = noImpl
|
||||
@@ -44,10 +44,10 @@ import org.w3c.workers.*
|
||||
set(value) = noImpl
|
||||
}
|
||||
|
||||
@native public abstract class XMLHttpRequestUpload : XMLHttpRequestEventTarget() {
|
||||
public external abstract class XMLHttpRequestUpload : XMLHttpRequestEventTarget() {
|
||||
}
|
||||
|
||||
@native public open class XMLHttpRequest : XMLHttpRequestEventTarget() {
|
||||
public external open class XMLHttpRequest : XMLHttpRequestEventTarget() {
|
||||
var onreadystatechange: ((Event) -> dynamic)?
|
||||
get() = noImpl
|
||||
set(value) = noImpl
|
||||
@@ -94,7 +94,7 @@ import org.w3c.workers.*
|
||||
}
|
||||
}
|
||||
|
||||
@native public open class FormData(form: HTMLFormElement = noImpl) {
|
||||
public external open class FormData(form: HTMLFormElement = noImpl) {
|
||||
fun append(name: String, value: String): Unit = noImpl
|
||||
fun append(name: String, value: Blob, filename: String = noImpl): Unit = noImpl
|
||||
fun delete(name: String): Unit = noImpl
|
||||
@@ -105,7 +105,7 @@ import org.w3c.workers.*
|
||||
fun set(name: String, value: Blob, filename: String = noImpl): Unit = noImpl
|
||||
}
|
||||
|
||||
@native public open class ProgressEvent(type: String, eventInitDict: ProgressEventInit = noImpl) : Event(type, eventInitDict) {
|
||||
public external open class ProgressEvent(type: String, eventInitDict: ProgressEventInit = noImpl) : Event(type, eventInitDict) {
|
||||
open val lengthComputable: Boolean
|
||||
get() = noImpl
|
||||
open val loaded: Int
|
||||
@@ -114,7 +114,7 @@ import org.w3c.workers.*
|
||||
get() = noImpl
|
||||
}
|
||||
|
||||
@native public interface ProgressEventInit : EventInit {
|
||||
public external interface ProgressEventInit : EventInit {
|
||||
var lengthComputable: Boolean? /* = false */
|
||||
var loaded: Int? /* = 0 */
|
||||
var total: Int? /* = 0 */
|
||||
|
||||
Reference in New Issue
Block a user