From de664de0bf3370edca2777ea9a7c65674a741c5d Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Mon, 19 Dec 2016 19:40:47 +0300 Subject: [PATCH] JS: regenerate stdlib files from IDL --- .../src/generated/org.khronos.webgl.kt | 1703 ++++----- .../src/generated/org.w3c.dom.css.kt | 553 +-- .../src/generated/org.w3c.dom.events.kt | 168 +- js/js.libraries/src/generated/org.w3c.dom.kt | 3176 +++++------------ .../src/generated/org.w3c.dom.parsing.kt | 4 +- .../src/generated/org.w3c.dom.svg.kt | 553 +-- .../src/generated/org.w3c.dom.url.kt | 46 +- .../src/generated/org.w3c.fetch.kt | 95 +- .../src/generated/org.w3c.files.kt | 57 +- .../src/generated/org.w3c.notifications.kt | 83 +- .../src/generated/org.w3c.performance.kt | 36 +- .../src/generated/org.w3c.workers.kt | 191 +- js/js.libraries/src/generated/org.w3c.xhr.kt | 81 +- 13 files changed, 2332 insertions(+), 4414 deletions(-) diff --git a/js/js.libraries/src/generated/org.khronos.webgl.kt b/js/js.libraries/src/generated/org.khronos.webgl.kt index 69bd4031a8d..acbaa0ca2a3 100644 --- a/js/js.libraries/src/generated/org.khronos.webgl.kt +++ b/js/js.libraries/src/generated/org.khronos.webgl.kt @@ -22,13 +22,29 @@ import org.w3c.xhr.* public external interface WebGLContextAttributes { var alpha: Boolean? /* = true */ + get() = noImpl + set(value) = noImpl var depth: Boolean? /* = true */ + get() = noImpl + set(value) = noImpl var stencil: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var antialias: Boolean? /* = true */ + get() = noImpl + set(value) = noImpl var premultipliedAlpha: Boolean? /* = true */ + get() = noImpl + set(value) = noImpl var preserveDrawingBuffer: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var preferLowPowerToHighPerformance: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var failIfMajorPerformanceCaveat: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -73,791 +89,783 @@ public external abstract class WebGLUniformLocation { public external abstract class WebGLActiveInfo { open val size: Int - get() = noImpl open val type: Int - get() = noImpl open val name: String - get() = noImpl } public external abstract class WebGLShaderPrecisionFormat { open val rangeMin: Int - get() = noImpl open val rangeMax: Int - get() = noImpl open val precision: Int - get() = noImpl } public external interface WebGLRenderingContextBase { val canvas: HTMLCanvasElement - get() = noImpl val drawingBufferWidth: Int - get() = noImpl val drawingBufferHeight: Int - get() = noImpl - fun getContextAttributes(): WebGLContextAttributes? = noImpl - fun isContextLost(): Boolean = noImpl - fun getSupportedExtensions(): Array? = noImpl - fun getExtension(name: String): dynamic = noImpl - fun activeTexture(texture: Int): Unit = noImpl - fun attachShader(program: WebGLProgram?, shader: WebGLShader?): Unit = noImpl - fun bindAttribLocation(program: WebGLProgram?, index: Int, name: String): Unit = noImpl - fun bindBuffer(target: Int, buffer: WebGLBuffer?): Unit = noImpl - fun bindFramebuffer(target: Int, framebuffer: WebGLFramebuffer?): Unit = noImpl - fun bindRenderbuffer(target: Int, renderbuffer: WebGLRenderbuffer?): Unit = noImpl - fun bindTexture(target: Int, texture: WebGLTexture?): Unit = noImpl - fun blendColor(red: Float, green: Float, blue: Float, alpha: Float): Unit = noImpl - fun blendEquation(mode: Int): Unit = noImpl - fun blendEquationSeparate(modeRGB: Int, modeAlpha: Int): Unit = noImpl - fun blendFunc(sfactor: Int, dfactor: Int): Unit = noImpl - fun blendFuncSeparate(srcRGB: Int, dstRGB: Int, srcAlpha: Int, dstAlpha: Int): Unit = noImpl - fun bufferData(target: Int, size: Int, usage: Int): Unit = noImpl - fun bufferData(target: Int, data: BufferDataSource?, usage: Int): Unit = noImpl - fun bufferSubData(target: Int, offset: Int, data: BufferDataSource?): Unit = noImpl - fun checkFramebufferStatus(target: Int): Int = noImpl - fun clear(mask: Int): Unit = noImpl - fun clearColor(red: Float, green: Float, blue: Float, alpha: Float): Unit = noImpl - fun clearDepth(depth: Float): Unit = noImpl - fun clearStencil(s: Int): Unit = noImpl - fun colorMask(red: Boolean, green: Boolean, blue: Boolean, alpha: Boolean): Unit = noImpl - fun compileShader(shader: WebGLShader?): Unit = noImpl - fun compressedTexImage2D(target: Int, level: Int, internalformat: Int, width: Int, height: Int, border: Int, data: ArrayBufferView): Unit = noImpl - fun compressedTexSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, width: Int, height: Int, format: Int, data: ArrayBufferView): Unit = noImpl - fun copyTexImage2D(target: Int, level: Int, internalformat: Int, x: Int, y: Int, width: Int, height: Int, border: Int): Unit = noImpl - fun copyTexSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, x: Int, y: Int, width: Int, height: Int): Unit = noImpl - fun createBuffer(): WebGLBuffer? = noImpl - fun createFramebuffer(): WebGLFramebuffer? = noImpl - fun createProgram(): WebGLProgram? = noImpl - fun createRenderbuffer(): WebGLRenderbuffer? = noImpl - fun createShader(type: Int): WebGLShader? = noImpl - fun createTexture(): WebGLTexture? = noImpl - fun cullFace(mode: Int): Unit = noImpl - fun deleteBuffer(buffer: WebGLBuffer?): Unit = noImpl - fun deleteFramebuffer(framebuffer: WebGLFramebuffer?): Unit = noImpl - fun deleteProgram(program: WebGLProgram?): Unit = noImpl - fun deleteRenderbuffer(renderbuffer: WebGLRenderbuffer?): Unit = noImpl - fun deleteShader(shader: WebGLShader?): Unit = noImpl - fun deleteTexture(texture: WebGLTexture?): Unit = noImpl - fun depthFunc(func: Int): Unit = noImpl - fun depthMask(flag: Boolean): Unit = noImpl - fun depthRange(zNear: Float, zFar: Float): Unit = noImpl - fun detachShader(program: WebGLProgram?, shader: WebGLShader?): Unit = noImpl - fun disable(cap: Int): Unit = noImpl - fun disableVertexAttribArray(index: Int): Unit = noImpl - fun drawArrays(mode: Int, first: Int, count: Int): Unit = noImpl - fun drawElements(mode: Int, count: Int, type: Int, offset: Int): Unit = noImpl - fun enable(cap: Int): Unit = noImpl - fun enableVertexAttribArray(index: Int): Unit = noImpl - fun finish(): Unit = noImpl - fun flush(): Unit = noImpl - fun framebufferRenderbuffer(target: Int, attachment: Int, renderbuffertarget: Int, renderbuffer: WebGLRenderbuffer?): Unit = noImpl - fun framebufferTexture2D(target: Int, attachment: Int, textarget: Int, texture: WebGLTexture?, level: Int): Unit = noImpl - fun frontFace(mode: Int): Unit = noImpl - fun generateMipmap(target: Int): Unit = noImpl - fun getActiveAttrib(program: WebGLProgram?, index: Int): WebGLActiveInfo? = noImpl - fun getActiveUniform(program: WebGLProgram?, index: Int): WebGLActiveInfo? = noImpl - fun getAttachedShaders(program: WebGLProgram?): Array? = noImpl - fun getAttribLocation(program: WebGLProgram?, name: String): Int = noImpl - fun getBufferParameter(target: Int, pname: Int): Any? = noImpl - fun getParameter(pname: Int): Any? = noImpl - fun getError(): Int = noImpl - fun getFramebufferAttachmentParameter(target: Int, attachment: Int, pname: Int): Any? = noImpl - fun getProgramParameter(program: WebGLProgram?, pname: Int): Any? = noImpl - fun getProgramInfoLog(program: WebGLProgram?): String? = noImpl - fun getRenderbufferParameter(target: Int, pname: Int): Any? = noImpl - fun getShaderParameter(shader: WebGLShader?, pname: Int): Any? = noImpl - fun getShaderPrecisionFormat(shadertype: Int, precisiontype: Int): WebGLShaderPrecisionFormat? = noImpl - fun getShaderInfoLog(shader: WebGLShader?): String? = noImpl - fun getShaderSource(shader: WebGLShader?): String? = noImpl - fun getTexParameter(target: Int, pname: Int): Any? = noImpl - fun getUniform(program: WebGLProgram?, location: WebGLUniformLocation?): Any? = noImpl - fun getUniformLocation(program: WebGLProgram?, name: String): WebGLUniformLocation? = noImpl - fun getVertexAttrib(index: Int, pname: Int): Any? = noImpl - fun getVertexAttribOffset(index: Int, pname: Int): Int = noImpl - fun hint(target: Int, mode: Int): Unit = noImpl - fun isBuffer(buffer: WebGLBuffer?): Boolean = noImpl - fun isEnabled(cap: Int): Boolean = noImpl - fun isFramebuffer(framebuffer: WebGLFramebuffer?): Boolean = noImpl - fun isProgram(program: WebGLProgram?): Boolean = noImpl - fun isRenderbuffer(renderbuffer: WebGLRenderbuffer?): Boolean = noImpl - fun isShader(shader: WebGLShader?): Boolean = noImpl - fun isTexture(texture: WebGLTexture?): Boolean = noImpl - fun lineWidth(width: Float): Unit = noImpl - fun linkProgram(program: WebGLProgram?): Unit = noImpl - fun pixelStorei(pname: Int, param: Int): Unit = noImpl - fun polygonOffset(factor: Float, units: Float): Unit = noImpl - fun readPixels(x: Int, y: Int, width: Int, height: Int, format: Int, type: Int, pixels: ArrayBufferView?): Unit = noImpl - fun renderbufferStorage(target: Int, internalformat: Int, width: Int, height: Int): Unit = noImpl - fun sampleCoverage(value: Float, invert: Boolean): Unit = noImpl - fun scissor(x: Int, y: Int, width: Int, height: Int): Unit = noImpl - fun shaderSource(shader: WebGLShader?, source: String): Unit = noImpl - fun stencilFunc(func: Int, ref: Int, mask: Int): Unit = noImpl - fun stencilFuncSeparate(face: Int, func: Int, ref: Int, mask: Int): Unit = noImpl - fun stencilMask(mask: Int): Unit = noImpl - fun stencilMaskSeparate(face: Int, mask: Int): Unit = noImpl - fun stencilOp(fail: Int, zfail: Int, zpass: Int): Unit = noImpl - fun stencilOpSeparate(face: Int, fail: Int, zfail: Int, zpass: Int): Unit = noImpl - fun texImage2D(target: Int, level: Int, internalformat: Int, width: Int, height: Int, border: Int, format: Int, type: Int, pixels: ArrayBufferView?): Unit = noImpl - fun texImage2D(target: Int, level: Int, internalformat: Int, format: Int, type: Int, source: TexImageSource?): Unit = noImpl - fun texParameterf(target: Int, pname: Int, param: Float): Unit = noImpl - fun texParameteri(target: Int, pname: Int, param: Int): Unit = noImpl - fun texSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, width: Int, height: Int, format: Int, type: Int, pixels: ArrayBufferView?): Unit = noImpl - fun texSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, format: Int, type: Int, source: TexImageSource?): Unit = noImpl - fun uniform1f(location: WebGLUniformLocation?, x: Float): Unit = noImpl - fun uniform1fv(location: WebGLUniformLocation?, v: Float32Array): Unit = noImpl - fun uniform1fv(location: WebGLUniformLocation?, v: Array): Unit = noImpl - fun uniform1i(location: WebGLUniformLocation?, x: Int): Unit = noImpl - fun uniform1iv(location: WebGLUniformLocation?, v: Int32Array): Unit = noImpl - fun uniform1iv(location: WebGLUniformLocation?, v: Array): Unit = noImpl - fun uniform2f(location: WebGLUniformLocation?, x: Float, y: Float): Unit = noImpl - fun uniform2fv(location: WebGLUniformLocation?, v: Float32Array): Unit = noImpl - fun uniform2fv(location: WebGLUniformLocation?, v: Array): Unit = noImpl - fun uniform2i(location: WebGLUniformLocation?, x: Int, y: Int): Unit = noImpl - fun uniform2iv(location: WebGLUniformLocation?, v: Int32Array): Unit = noImpl - fun uniform2iv(location: WebGLUniformLocation?, v: Array): Unit = noImpl - fun uniform3f(location: WebGLUniformLocation?, x: Float, y: Float, z: Float): Unit = noImpl - fun uniform3fv(location: WebGLUniformLocation?, v: Float32Array): Unit = noImpl - fun uniform3fv(location: WebGLUniformLocation?, v: Array): Unit = noImpl - fun uniform3i(location: WebGLUniformLocation?, x: Int, y: Int, z: Int): Unit = noImpl - fun uniform3iv(location: WebGLUniformLocation?, v: Int32Array): Unit = noImpl - fun uniform3iv(location: WebGLUniformLocation?, v: Array): Unit = noImpl - fun uniform4f(location: WebGLUniformLocation?, x: Float, y: Float, z: Float, w: Float): Unit = noImpl - fun uniform4fv(location: WebGLUniformLocation?, v: Float32Array): Unit = noImpl - fun uniform4fv(location: WebGLUniformLocation?, v: Array): Unit = noImpl - fun uniform4i(location: WebGLUniformLocation?, x: Int, y: Int, z: Int, w: Int): Unit = noImpl - fun uniform4iv(location: WebGLUniformLocation?, v: Int32Array): Unit = noImpl - fun uniform4iv(location: WebGLUniformLocation?, v: Array): Unit = noImpl - fun uniformMatrix2fv(location: WebGLUniformLocation?, transpose: Boolean, value: Float32Array): Unit = noImpl - fun uniformMatrix2fv(location: WebGLUniformLocation?, transpose: Boolean, value: Array): Unit = noImpl - fun uniformMatrix3fv(location: WebGLUniformLocation?, transpose: Boolean, value: Float32Array): Unit = noImpl - fun uniformMatrix3fv(location: WebGLUniformLocation?, transpose: Boolean, value: Array): Unit = noImpl - fun uniformMatrix4fv(location: WebGLUniformLocation?, transpose: Boolean, value: Float32Array): Unit = noImpl - fun uniformMatrix4fv(location: WebGLUniformLocation?, transpose: Boolean, value: Array): Unit = noImpl - fun useProgram(program: WebGLProgram?): Unit = noImpl - fun validateProgram(program: WebGLProgram?): Unit = noImpl - fun vertexAttrib1f(index: Int, x: Float): Unit = noImpl - fun vertexAttrib1fv(index: Int, values: dynamic): Unit = noImpl - fun vertexAttrib2f(index: Int, x: Float, y: Float): Unit = noImpl - fun vertexAttrib2fv(index: Int, values: dynamic): Unit = noImpl - fun vertexAttrib3f(index: Int, x: Float, y: Float, z: Float): Unit = noImpl - fun vertexAttrib3fv(index: Int, values: dynamic): Unit = noImpl - fun vertexAttrib4f(index: Int, x: Float, y: Float, z: Float, w: Float): Unit = noImpl - fun vertexAttrib4fv(index: Int, values: dynamic): Unit = noImpl - fun vertexAttribPointer(index: Int, size: Int, type: Int, normalized: Boolean, stride: Int, offset: Int): Unit = noImpl - fun viewport(x: Int, y: Int, width: Int, height: Int): Unit = noImpl + fun getContextAttributes(): WebGLContextAttributes? + fun isContextLost(): Boolean + fun getSupportedExtensions(): Array? + fun getExtension(name: String): dynamic + fun activeTexture(texture: Int): Unit + fun attachShader(program: WebGLProgram?, shader: WebGLShader?): Unit + fun bindAttribLocation(program: WebGLProgram?, index: Int, name: String): Unit + fun bindBuffer(target: Int, buffer: WebGLBuffer?): Unit + fun bindFramebuffer(target: Int, framebuffer: WebGLFramebuffer?): Unit + fun bindRenderbuffer(target: Int, renderbuffer: WebGLRenderbuffer?): Unit + fun bindTexture(target: Int, texture: WebGLTexture?): Unit + fun blendColor(red: Float, green: Float, blue: Float, alpha: Float): Unit + fun blendEquation(mode: Int): Unit + fun blendEquationSeparate(modeRGB: Int, modeAlpha: Int): Unit + fun blendFunc(sfactor: Int, dfactor: Int): Unit + fun blendFuncSeparate(srcRGB: Int, dstRGB: Int, srcAlpha: Int, dstAlpha: Int): Unit + fun bufferData(target: Int, size: Int, usage: Int): Unit + fun bufferData(target: Int, data: BufferDataSource?, usage: Int): Unit + fun bufferSubData(target: Int, offset: Int, data: BufferDataSource?): Unit + fun checkFramebufferStatus(target: Int): Int + fun clear(mask: Int): Unit + fun clearColor(red: Float, green: Float, blue: Float, alpha: Float): Unit + fun clearDepth(depth: Float): Unit + fun clearStencil(s: Int): Unit + fun colorMask(red: Boolean, green: Boolean, blue: Boolean, alpha: Boolean): Unit + fun compileShader(shader: WebGLShader?): Unit + fun compressedTexImage2D(target: Int, level: Int, internalformat: Int, width: Int, height: Int, border: Int, data: ArrayBufferView): Unit + fun compressedTexSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, width: Int, height: Int, format: Int, data: ArrayBufferView): Unit + fun copyTexImage2D(target: Int, level: Int, internalformat: Int, x: Int, y: Int, width: Int, height: Int, border: Int): Unit + fun copyTexSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, x: Int, y: Int, width: Int, height: Int): Unit + fun createBuffer(): WebGLBuffer? + fun createFramebuffer(): WebGLFramebuffer? + fun createProgram(): WebGLProgram? + fun createRenderbuffer(): WebGLRenderbuffer? + fun createShader(type: Int): WebGLShader? + fun createTexture(): WebGLTexture? + fun cullFace(mode: Int): Unit + fun deleteBuffer(buffer: WebGLBuffer?): Unit + fun deleteFramebuffer(framebuffer: WebGLFramebuffer?): Unit + fun deleteProgram(program: WebGLProgram?): Unit + fun deleteRenderbuffer(renderbuffer: WebGLRenderbuffer?): Unit + fun deleteShader(shader: WebGLShader?): Unit + fun deleteTexture(texture: WebGLTexture?): Unit + fun depthFunc(func: Int): Unit + fun depthMask(flag: Boolean): Unit + fun depthRange(zNear: Float, zFar: Float): Unit + fun detachShader(program: WebGLProgram?, shader: WebGLShader?): Unit + fun disable(cap: Int): Unit + fun disableVertexAttribArray(index: Int): Unit + fun drawArrays(mode: Int, first: Int, count: Int): Unit + fun drawElements(mode: Int, count: Int, type: Int, offset: Int): Unit + fun enable(cap: Int): Unit + fun enableVertexAttribArray(index: Int): Unit + fun finish(): Unit + fun flush(): Unit + fun framebufferRenderbuffer(target: Int, attachment: Int, renderbuffertarget: Int, renderbuffer: WebGLRenderbuffer?): Unit + fun framebufferTexture2D(target: Int, attachment: Int, textarget: Int, texture: WebGLTexture?, level: Int): Unit + fun frontFace(mode: Int): Unit + fun generateMipmap(target: Int): Unit + fun getActiveAttrib(program: WebGLProgram?, index: Int): WebGLActiveInfo? + fun getActiveUniform(program: WebGLProgram?, index: Int): WebGLActiveInfo? + fun getAttachedShaders(program: WebGLProgram?): Array? + fun getAttribLocation(program: WebGLProgram?, name: String): Int + fun getBufferParameter(target: Int, pname: Int): Any? + fun getParameter(pname: Int): Any? + fun getError(): Int + fun getFramebufferAttachmentParameter(target: Int, attachment: Int, pname: Int): Any? + fun getProgramParameter(program: WebGLProgram?, pname: Int): Any? + fun getProgramInfoLog(program: WebGLProgram?): String? + fun getRenderbufferParameter(target: Int, pname: Int): Any? + fun getShaderParameter(shader: WebGLShader?, pname: Int): Any? + fun getShaderPrecisionFormat(shadertype: Int, precisiontype: Int): WebGLShaderPrecisionFormat? + fun getShaderInfoLog(shader: WebGLShader?): String? + fun getShaderSource(shader: WebGLShader?): String? + fun getTexParameter(target: Int, pname: Int): Any? + fun getUniform(program: WebGLProgram?, location: WebGLUniformLocation?): Any? + fun getUniformLocation(program: WebGLProgram?, name: String): WebGLUniformLocation? + fun getVertexAttrib(index: Int, pname: Int): Any? + fun getVertexAttribOffset(index: Int, pname: Int): Int + fun hint(target: Int, mode: Int): Unit + fun isBuffer(buffer: WebGLBuffer?): Boolean + fun isEnabled(cap: Int): Boolean + fun isFramebuffer(framebuffer: WebGLFramebuffer?): Boolean + fun isProgram(program: WebGLProgram?): Boolean + fun isRenderbuffer(renderbuffer: WebGLRenderbuffer?): Boolean + fun isShader(shader: WebGLShader?): Boolean + fun isTexture(texture: WebGLTexture?): Boolean + fun lineWidth(width: Float): Unit + fun linkProgram(program: WebGLProgram?): Unit + fun pixelStorei(pname: Int, param: Int): Unit + fun polygonOffset(factor: Float, units: Float): Unit + fun readPixels(x: Int, y: Int, width: Int, height: Int, format: Int, type: Int, pixels: ArrayBufferView?): Unit + fun renderbufferStorage(target: Int, internalformat: Int, width: Int, height: Int): Unit + fun sampleCoverage(value: Float, invert: Boolean): Unit + fun scissor(x: Int, y: Int, width: Int, height: Int): Unit + fun shaderSource(shader: WebGLShader?, source: String): Unit + fun stencilFunc(func: Int, ref: Int, mask: Int): Unit + fun stencilFuncSeparate(face: Int, func: Int, ref: Int, mask: Int): Unit + fun stencilMask(mask: Int): Unit + fun stencilMaskSeparate(face: Int, mask: Int): Unit + fun stencilOp(fail: Int, zfail: Int, zpass: Int): Unit + fun stencilOpSeparate(face: Int, fail: Int, zfail: Int, zpass: Int): Unit + fun texImage2D(target: Int, level: Int, internalformat: Int, width: Int, height: Int, border: Int, format: Int, type: Int, pixels: ArrayBufferView?): Unit + fun texImage2D(target: Int, level: Int, internalformat: Int, format: Int, type: Int, source: TexImageSource?): Unit + fun texParameterf(target: Int, pname: Int, param: Float): Unit + fun texParameteri(target: Int, pname: Int, param: Int): Unit + fun texSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, width: Int, height: Int, format: Int, type: Int, pixels: ArrayBufferView?): Unit + fun texSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, format: Int, type: Int, source: TexImageSource?): Unit + fun uniform1f(location: WebGLUniformLocation?, x: Float): Unit + fun uniform1fv(location: WebGLUniformLocation?, v: Float32Array): Unit + fun uniform1fv(location: WebGLUniformLocation?, v: Array): Unit + fun uniform1i(location: WebGLUniformLocation?, x: Int): Unit + fun uniform1iv(location: WebGLUniformLocation?, v: Int32Array): Unit + fun uniform1iv(location: WebGLUniformLocation?, v: Array): Unit + fun uniform2f(location: WebGLUniformLocation?, x: Float, y: Float): Unit + fun uniform2fv(location: WebGLUniformLocation?, v: Float32Array): Unit + fun uniform2fv(location: WebGLUniformLocation?, v: Array): Unit + fun uniform2i(location: WebGLUniformLocation?, x: Int, y: Int): Unit + fun uniform2iv(location: WebGLUniformLocation?, v: Int32Array): Unit + fun uniform2iv(location: WebGLUniformLocation?, v: Array): Unit + fun uniform3f(location: WebGLUniformLocation?, x: Float, y: Float, z: Float): Unit + fun uniform3fv(location: WebGLUniformLocation?, v: Float32Array): Unit + fun uniform3fv(location: WebGLUniformLocation?, v: Array): Unit + fun uniform3i(location: WebGLUniformLocation?, x: Int, y: Int, z: Int): Unit + fun uniform3iv(location: WebGLUniformLocation?, v: Int32Array): Unit + fun uniform3iv(location: WebGLUniformLocation?, v: Array): Unit + fun uniform4f(location: WebGLUniformLocation?, x: Float, y: Float, z: Float, w: Float): Unit + fun uniform4fv(location: WebGLUniformLocation?, v: Float32Array): Unit + fun uniform4fv(location: WebGLUniformLocation?, v: Array): Unit + fun uniform4i(location: WebGLUniformLocation?, x: Int, y: Int, z: Int, w: Int): Unit + fun uniform4iv(location: WebGLUniformLocation?, v: Int32Array): Unit + fun uniform4iv(location: WebGLUniformLocation?, v: Array): Unit + fun uniformMatrix2fv(location: WebGLUniformLocation?, transpose: Boolean, value: Float32Array): Unit + fun uniformMatrix2fv(location: WebGLUniformLocation?, transpose: Boolean, value: Array): Unit + fun uniformMatrix3fv(location: WebGLUniformLocation?, transpose: Boolean, value: Float32Array): Unit + fun uniformMatrix3fv(location: WebGLUniformLocation?, transpose: Boolean, value: Array): Unit + fun uniformMatrix4fv(location: WebGLUniformLocation?, transpose: Boolean, value: Float32Array): Unit + fun uniformMatrix4fv(location: WebGLUniformLocation?, transpose: Boolean, value: Array): Unit + fun useProgram(program: WebGLProgram?): Unit + fun validateProgram(program: WebGLProgram?): Unit + fun vertexAttrib1f(index: Int, x: Float): Unit + fun vertexAttrib1fv(index: Int, values: dynamic): Unit + fun vertexAttrib2f(index: Int, x: Float, y: Float): Unit + fun vertexAttrib2fv(index: Int, values: dynamic): Unit + fun vertexAttrib3f(index: Int, x: Float, y: Float, z: Float): Unit + fun vertexAttrib3fv(index: Int, values: dynamic): Unit + fun vertexAttrib4f(index: Int, x: Float, y: Float, z: Float, w: Float): Unit + fun vertexAttrib4fv(index: Int, values: dynamic): Unit + fun vertexAttribPointer(index: Int, size: Int, type: Int, normalized: Boolean, stride: Int, offset: Int): Unit + fun viewport(x: Int, y: Int, width: Int, height: Int): Unit companion object { - val DEPTH_BUFFER_BIT: Int = 0x00000100 - val STENCIL_BUFFER_BIT: Int = 0x00000400 - val COLOR_BUFFER_BIT: Int = 0x00004000 - val POINTS: Int = 0x0000 - val LINES: Int = 0x0001 - val LINE_LOOP: Int = 0x0002 - val LINE_STRIP: Int = 0x0003 - val TRIANGLES: Int = 0x0004 - val TRIANGLE_STRIP: Int = 0x0005 - val TRIANGLE_FAN: Int = 0x0006 - val ZERO: Int = 0 - val ONE: Int = 1 - val SRC_COLOR: Int = 0x0300 - val ONE_MINUS_SRC_COLOR: Int = 0x0301 - val SRC_ALPHA: Int = 0x0302 - val ONE_MINUS_SRC_ALPHA: Int = 0x0303 - val DST_ALPHA: Int = 0x0304 - val ONE_MINUS_DST_ALPHA: Int = 0x0305 - val DST_COLOR: Int = 0x0306 - val ONE_MINUS_DST_COLOR: Int = 0x0307 - val SRC_ALPHA_SATURATE: Int = 0x0308 - val FUNC_ADD: Int = 0x8006 - val BLEND_EQUATION: Int = 0x8009 - val BLEND_EQUATION_RGB: Int = 0x8009 - val BLEND_EQUATION_ALPHA: Int = 0x883D - val FUNC_SUBTRACT: Int = 0x800A - val FUNC_REVERSE_SUBTRACT: Int = 0x800B - val BLEND_DST_RGB: Int = 0x80C8 - val BLEND_SRC_RGB: Int = 0x80C9 - val BLEND_DST_ALPHA: Int = 0x80CA - val BLEND_SRC_ALPHA: Int = 0x80CB - val CONSTANT_COLOR: Int = 0x8001 - val ONE_MINUS_CONSTANT_COLOR: Int = 0x8002 - val CONSTANT_ALPHA: Int = 0x8003 - val ONE_MINUS_CONSTANT_ALPHA: Int = 0x8004 - val BLEND_COLOR: Int = 0x8005 - val ARRAY_BUFFER: Int = 0x8892 - val ELEMENT_ARRAY_BUFFER: Int = 0x8893 - val ARRAY_BUFFER_BINDING: Int = 0x8894 - val ELEMENT_ARRAY_BUFFER_BINDING: Int = 0x8895 - val STREAM_DRAW: Int = 0x88E0 - val STATIC_DRAW: Int = 0x88E4 - val DYNAMIC_DRAW: Int = 0x88E8 - val BUFFER_SIZE: Int = 0x8764 - val BUFFER_USAGE: Int = 0x8765 - val CURRENT_VERTEX_ATTRIB: Int = 0x8626 - val FRONT: Int = 0x0404 - val BACK: Int = 0x0405 - val FRONT_AND_BACK: Int = 0x0408 - val CULL_FACE: Int = 0x0B44 - val BLEND: Int = 0x0BE2 - val DITHER: Int = 0x0BD0 - val STENCIL_TEST: Int = 0x0B90 - val DEPTH_TEST: Int = 0x0B71 - val SCISSOR_TEST: Int = 0x0C11 - val POLYGON_OFFSET_FILL: Int = 0x8037 - val SAMPLE_ALPHA_TO_COVERAGE: Int = 0x809E - val SAMPLE_COVERAGE: Int = 0x80A0 - val NO_ERROR: Int = 0 - val INVALID_ENUM: Int = 0x0500 - val INVALID_VALUE: Int = 0x0501 - val INVALID_OPERATION: Int = 0x0502 - val OUT_OF_MEMORY: Int = 0x0505 - val CW: Int = 0x0900 - val CCW: Int = 0x0901 - val LINE_WIDTH: Int = 0x0B21 - val ALIASED_POINT_SIZE_RANGE: Int = 0x846D - val ALIASED_LINE_WIDTH_RANGE: Int = 0x846E - val CULL_FACE_MODE: Int = 0x0B45 - val FRONT_FACE: Int = 0x0B46 - val DEPTH_RANGE: Int = 0x0B70 - val DEPTH_WRITEMASK: Int = 0x0B72 - val DEPTH_CLEAR_VALUE: Int = 0x0B73 - val DEPTH_FUNC: Int = 0x0B74 - val STENCIL_CLEAR_VALUE: Int = 0x0B91 - val STENCIL_FUNC: Int = 0x0B92 - val STENCIL_FAIL: Int = 0x0B94 - val STENCIL_PASS_DEPTH_FAIL: Int = 0x0B95 - val STENCIL_PASS_DEPTH_PASS: Int = 0x0B96 - val STENCIL_REF: Int = 0x0B97 - val STENCIL_VALUE_MASK: Int = 0x0B93 - val STENCIL_WRITEMASK: Int = 0x0B98 - val STENCIL_BACK_FUNC: Int = 0x8800 - val STENCIL_BACK_FAIL: Int = 0x8801 - val STENCIL_BACK_PASS_DEPTH_FAIL: Int = 0x8802 - val STENCIL_BACK_PASS_DEPTH_PASS: Int = 0x8803 - val STENCIL_BACK_REF: Int = 0x8CA3 - val STENCIL_BACK_VALUE_MASK: Int = 0x8CA4 - val STENCIL_BACK_WRITEMASK: Int = 0x8CA5 - val VIEWPORT: Int = 0x0BA2 - val SCISSOR_BOX: Int = 0x0C10 - val COLOR_CLEAR_VALUE: Int = 0x0C22 - val COLOR_WRITEMASK: Int = 0x0C23 - val UNPACK_ALIGNMENT: Int = 0x0CF5 - val PACK_ALIGNMENT: Int = 0x0D05 - val MAX_TEXTURE_SIZE: Int = 0x0D33 - val MAX_VIEWPORT_DIMS: Int = 0x0D3A - val SUBPIXEL_BITS: Int = 0x0D50 - val RED_BITS: Int = 0x0D52 - val GREEN_BITS: Int = 0x0D53 - val BLUE_BITS: Int = 0x0D54 - val ALPHA_BITS: Int = 0x0D55 - val DEPTH_BITS: Int = 0x0D56 - val STENCIL_BITS: Int = 0x0D57 - val POLYGON_OFFSET_UNITS: Int = 0x2A00 - val POLYGON_OFFSET_FACTOR: Int = 0x8038 - val TEXTURE_BINDING_2D: Int = 0x8069 - val SAMPLE_BUFFERS: Int = 0x80A8 - val SAMPLES: Int = 0x80A9 - val SAMPLE_COVERAGE_VALUE: Int = 0x80AA - val SAMPLE_COVERAGE_INVERT: Int = 0x80AB - val COMPRESSED_TEXTURE_FORMATS: Int = 0x86A3 - val DONT_CARE: Int = 0x1100 - val FASTEST: Int = 0x1101 - val NICEST: Int = 0x1102 - val GENERATE_MIPMAP_HINT: Int = 0x8192 - val BYTE: Int = 0x1400 - val UNSIGNED_BYTE: Int = 0x1401 - val SHORT: Int = 0x1402 - val UNSIGNED_SHORT: Int = 0x1403 - val INT: Int = 0x1404 - val UNSIGNED_INT: Int = 0x1405 - val FLOAT: Int = 0x1406 - val DEPTH_COMPONENT: Int = 0x1902 - val ALPHA: Int = 0x1906 - val RGB: Int = 0x1907 - val RGBA: Int = 0x1908 - val LUMINANCE: Int = 0x1909 - val LUMINANCE_ALPHA: Int = 0x190A - val UNSIGNED_SHORT_4_4_4_4: Int = 0x8033 - val UNSIGNED_SHORT_5_5_5_1: Int = 0x8034 - val UNSIGNED_SHORT_5_6_5: Int = 0x8363 - val FRAGMENT_SHADER: Int = 0x8B30 - val VERTEX_SHADER: Int = 0x8B31 - val MAX_VERTEX_ATTRIBS: Int = 0x8869 - val MAX_VERTEX_UNIFORM_VECTORS: Int = 0x8DFB - val MAX_VARYING_VECTORS: Int = 0x8DFC - val MAX_COMBINED_TEXTURE_IMAGE_UNITS: Int = 0x8B4D - val MAX_VERTEX_TEXTURE_IMAGE_UNITS: Int = 0x8B4C - val MAX_TEXTURE_IMAGE_UNITS: Int = 0x8872 - val MAX_FRAGMENT_UNIFORM_VECTORS: Int = 0x8DFD - val SHADER_TYPE: Int = 0x8B4F - val DELETE_STATUS: Int = 0x8B80 - val LINK_STATUS: Int = 0x8B82 - val VALIDATE_STATUS: Int = 0x8B83 - val ATTACHED_SHADERS: Int = 0x8B85 - val ACTIVE_UNIFORMS: Int = 0x8B86 - val ACTIVE_ATTRIBUTES: Int = 0x8B89 - val SHADING_LANGUAGE_VERSION: Int = 0x8B8C - val CURRENT_PROGRAM: Int = 0x8B8D - val NEVER: Int = 0x0200 - val LESS: Int = 0x0201 - val EQUAL: Int = 0x0202 - val LEQUAL: Int = 0x0203 - val GREATER: Int = 0x0204 - val NOTEQUAL: Int = 0x0205 - val GEQUAL: Int = 0x0206 - val ALWAYS: Int = 0x0207 - val KEEP: Int = 0x1E00 - val REPLACE: Int = 0x1E01 - val INCR: Int = 0x1E02 - val DECR: Int = 0x1E03 - val INVERT: Int = 0x150A - val INCR_WRAP: Int = 0x8507 - val DECR_WRAP: Int = 0x8508 - val VENDOR: Int = 0x1F00 - val RENDERER: Int = 0x1F01 - val VERSION: Int = 0x1F02 - val NEAREST: Int = 0x2600 - val LINEAR: Int = 0x2601 - val NEAREST_MIPMAP_NEAREST: Int = 0x2700 - val LINEAR_MIPMAP_NEAREST: Int = 0x2701 - val NEAREST_MIPMAP_LINEAR: Int = 0x2702 - val LINEAR_MIPMAP_LINEAR: Int = 0x2703 - val TEXTURE_MAG_FILTER: Int = 0x2800 - val TEXTURE_MIN_FILTER: Int = 0x2801 - val TEXTURE_WRAP_S: Int = 0x2802 - val TEXTURE_WRAP_T: Int = 0x2803 - val TEXTURE_2D: Int = 0x0DE1 - val TEXTURE: Int = 0x1702 - val TEXTURE_CUBE_MAP: Int = 0x8513 - val TEXTURE_BINDING_CUBE_MAP: Int = 0x8514 - val TEXTURE_CUBE_MAP_POSITIVE_X: Int = 0x8515 - val TEXTURE_CUBE_MAP_NEGATIVE_X: Int = 0x8516 - val TEXTURE_CUBE_MAP_POSITIVE_Y: Int = 0x8517 - val TEXTURE_CUBE_MAP_NEGATIVE_Y: Int = 0x8518 - val TEXTURE_CUBE_MAP_POSITIVE_Z: Int = 0x8519 - val TEXTURE_CUBE_MAP_NEGATIVE_Z: Int = 0x851A - val MAX_CUBE_MAP_TEXTURE_SIZE: Int = 0x851C - val TEXTURE0: Int = 0x84C0 - val TEXTURE1: Int = 0x84C1 - val TEXTURE2: Int = 0x84C2 - val TEXTURE3: Int = 0x84C3 - val TEXTURE4: Int = 0x84C4 - val TEXTURE5: Int = 0x84C5 - val TEXTURE6: Int = 0x84C6 - val TEXTURE7: Int = 0x84C7 - val TEXTURE8: Int = 0x84C8 - val TEXTURE9: Int = 0x84C9 - val TEXTURE10: Int = 0x84CA - val TEXTURE11: Int = 0x84CB - val TEXTURE12: Int = 0x84CC - val TEXTURE13: Int = 0x84CD - val TEXTURE14: Int = 0x84CE - val TEXTURE15: Int = 0x84CF - val TEXTURE16: Int = 0x84D0 - val TEXTURE17: Int = 0x84D1 - val TEXTURE18: Int = 0x84D2 - val TEXTURE19: Int = 0x84D3 - val TEXTURE20: Int = 0x84D4 - val TEXTURE21: Int = 0x84D5 - val TEXTURE22: Int = 0x84D6 - val TEXTURE23: Int = 0x84D7 - val TEXTURE24: Int = 0x84D8 - val TEXTURE25: Int = 0x84D9 - val TEXTURE26: Int = 0x84DA - val TEXTURE27: Int = 0x84DB - val TEXTURE28: Int = 0x84DC - val TEXTURE29: Int = 0x84DD - val TEXTURE30: Int = 0x84DE - val TEXTURE31: Int = 0x84DF - val ACTIVE_TEXTURE: Int = 0x84E0 - val REPEAT: Int = 0x2901 - val CLAMP_TO_EDGE: Int = 0x812F - val MIRRORED_REPEAT: Int = 0x8370 - val FLOAT_VEC2: Int = 0x8B50 - val FLOAT_VEC3: Int = 0x8B51 - val FLOAT_VEC4: Int = 0x8B52 - val INT_VEC2: Int = 0x8B53 - val INT_VEC3: Int = 0x8B54 - val INT_VEC4: Int = 0x8B55 - val BOOL: Int = 0x8B56 - val BOOL_VEC2: Int = 0x8B57 - val BOOL_VEC3: Int = 0x8B58 - val BOOL_VEC4: Int = 0x8B59 - val FLOAT_MAT2: Int = 0x8B5A - val FLOAT_MAT3: Int = 0x8B5B - val FLOAT_MAT4: Int = 0x8B5C - val SAMPLER_2D: Int = 0x8B5E - val SAMPLER_CUBE: Int = 0x8B60 - val VERTEX_ATTRIB_ARRAY_ENABLED: Int = 0x8622 - val VERTEX_ATTRIB_ARRAY_SIZE: Int = 0x8623 - val VERTEX_ATTRIB_ARRAY_STRIDE: Int = 0x8624 - val VERTEX_ATTRIB_ARRAY_TYPE: Int = 0x8625 - val VERTEX_ATTRIB_ARRAY_NORMALIZED: Int = 0x886A - val VERTEX_ATTRIB_ARRAY_POINTER: Int = 0x8645 - val VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: Int = 0x889F - val IMPLEMENTATION_COLOR_READ_TYPE: Int = 0x8B9A - val IMPLEMENTATION_COLOR_READ_FORMAT: Int = 0x8B9B - val COMPILE_STATUS: Int = 0x8B81 - val LOW_FLOAT: Int = 0x8DF0 - val MEDIUM_FLOAT: Int = 0x8DF1 - val HIGH_FLOAT: Int = 0x8DF2 - val LOW_INT: Int = 0x8DF3 - val MEDIUM_INT: Int = 0x8DF4 - val HIGH_INT: Int = 0x8DF5 - val FRAMEBUFFER: Int = 0x8D40 - val RENDERBUFFER: Int = 0x8D41 - val RGBA4: Int = 0x8056 - val RGB5_A1: Int = 0x8057 - val RGB565: Int = 0x8D62 - val DEPTH_COMPONENT16: Int = 0x81A5 - val STENCIL_INDEX: Int = 0x1901 - val STENCIL_INDEX8: Int = 0x8D48 - val DEPTH_STENCIL: Int = 0x84F9 - val RENDERBUFFER_WIDTH: Int = 0x8D42 - val RENDERBUFFER_HEIGHT: Int = 0x8D43 - val RENDERBUFFER_INTERNAL_FORMAT: Int = 0x8D44 - val RENDERBUFFER_RED_SIZE: Int = 0x8D50 - val RENDERBUFFER_GREEN_SIZE: Int = 0x8D51 - val RENDERBUFFER_BLUE_SIZE: Int = 0x8D52 - val RENDERBUFFER_ALPHA_SIZE: Int = 0x8D53 - val RENDERBUFFER_DEPTH_SIZE: Int = 0x8D54 - val RENDERBUFFER_STENCIL_SIZE: Int = 0x8D55 - val FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: Int = 0x8CD0 - val FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: Int = 0x8CD1 - val FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: Int = 0x8CD2 - val FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: Int = 0x8CD3 - val COLOR_ATTACHMENT0: Int = 0x8CE0 - val DEPTH_ATTACHMENT: Int = 0x8D00 - val STENCIL_ATTACHMENT: Int = 0x8D20 - val DEPTH_STENCIL_ATTACHMENT: Int = 0x821A - val NONE: Int = 0 - val FRAMEBUFFER_COMPLETE: Int = 0x8CD5 - val FRAMEBUFFER_INCOMPLETE_ATTACHMENT: Int = 0x8CD6 - val FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: Int = 0x8CD7 - val FRAMEBUFFER_INCOMPLETE_DIMENSIONS: Int = 0x8CD9 - val FRAMEBUFFER_UNSUPPORTED: Int = 0x8CDD - val FRAMEBUFFER_BINDING: Int = 0x8CA6 - val RENDERBUFFER_BINDING: Int = 0x8CA7 - val MAX_RENDERBUFFER_SIZE: Int = 0x84E8 - val INVALID_FRAMEBUFFER_OPERATION: Int = 0x0506 - val UNPACK_FLIP_Y_WEBGL: Int = 0x9240 - val UNPACK_PREMULTIPLY_ALPHA_WEBGL: Int = 0x9241 - val CONTEXT_LOST_WEBGL: Int = 0x9242 - val UNPACK_COLORSPACE_CONVERSION_WEBGL: Int = 0x9243 - val BROWSER_DEFAULT_WEBGL: Int = 0x9244 + val DEPTH_BUFFER_BIT: Int + val STENCIL_BUFFER_BIT: Int + val COLOR_BUFFER_BIT: Int + val POINTS: Int + val LINES: Int + val LINE_LOOP: Int + val LINE_STRIP: Int + val TRIANGLES: Int + val TRIANGLE_STRIP: Int + val TRIANGLE_FAN: Int + val ZERO: Int + val ONE: Int + val SRC_COLOR: Int + val ONE_MINUS_SRC_COLOR: Int + val SRC_ALPHA: Int + val ONE_MINUS_SRC_ALPHA: Int + val DST_ALPHA: Int + val ONE_MINUS_DST_ALPHA: Int + val DST_COLOR: Int + val ONE_MINUS_DST_COLOR: Int + val SRC_ALPHA_SATURATE: Int + val FUNC_ADD: Int + val BLEND_EQUATION: Int + val BLEND_EQUATION_RGB: Int + val BLEND_EQUATION_ALPHA: Int + val FUNC_SUBTRACT: Int + val FUNC_REVERSE_SUBTRACT: Int + val BLEND_DST_RGB: Int + val BLEND_SRC_RGB: Int + val BLEND_DST_ALPHA: Int + val BLEND_SRC_ALPHA: Int + val CONSTANT_COLOR: Int + val ONE_MINUS_CONSTANT_COLOR: Int + val CONSTANT_ALPHA: Int + val ONE_MINUS_CONSTANT_ALPHA: Int + val BLEND_COLOR: Int + val ARRAY_BUFFER: Int + val ELEMENT_ARRAY_BUFFER: Int + val ARRAY_BUFFER_BINDING: Int + val ELEMENT_ARRAY_BUFFER_BINDING: Int + val STREAM_DRAW: Int + val STATIC_DRAW: Int + val DYNAMIC_DRAW: Int + val BUFFER_SIZE: Int + val BUFFER_USAGE: Int + val CURRENT_VERTEX_ATTRIB: Int + val FRONT: Int + val BACK: Int + val FRONT_AND_BACK: Int + val CULL_FACE: Int + val BLEND: Int + val DITHER: Int + val STENCIL_TEST: Int + val DEPTH_TEST: Int + val SCISSOR_TEST: Int + val POLYGON_OFFSET_FILL: Int + val SAMPLE_ALPHA_TO_COVERAGE: Int + val SAMPLE_COVERAGE: Int + val NO_ERROR: Int + val INVALID_ENUM: Int + val INVALID_VALUE: Int + val INVALID_OPERATION: Int + val OUT_OF_MEMORY: Int + val CW: Int + val CCW: Int + val LINE_WIDTH: Int + val ALIASED_POINT_SIZE_RANGE: Int + val ALIASED_LINE_WIDTH_RANGE: Int + val CULL_FACE_MODE: Int + val FRONT_FACE: Int + val DEPTH_RANGE: Int + val DEPTH_WRITEMASK: Int + val DEPTH_CLEAR_VALUE: Int + val DEPTH_FUNC: Int + val STENCIL_CLEAR_VALUE: Int + val STENCIL_FUNC: Int + val STENCIL_FAIL: Int + val STENCIL_PASS_DEPTH_FAIL: Int + val STENCIL_PASS_DEPTH_PASS: Int + val STENCIL_REF: Int + val STENCIL_VALUE_MASK: Int + val STENCIL_WRITEMASK: Int + val STENCIL_BACK_FUNC: Int + val STENCIL_BACK_FAIL: Int + val STENCIL_BACK_PASS_DEPTH_FAIL: Int + val STENCIL_BACK_PASS_DEPTH_PASS: Int + val STENCIL_BACK_REF: Int + val STENCIL_BACK_VALUE_MASK: Int + val STENCIL_BACK_WRITEMASK: Int + val VIEWPORT: Int + val SCISSOR_BOX: Int + val COLOR_CLEAR_VALUE: Int + val COLOR_WRITEMASK: Int + val UNPACK_ALIGNMENT: Int + val PACK_ALIGNMENT: Int + val MAX_TEXTURE_SIZE: Int + val MAX_VIEWPORT_DIMS: Int + val SUBPIXEL_BITS: Int + val RED_BITS: Int + val GREEN_BITS: Int + val BLUE_BITS: Int + val ALPHA_BITS: Int + val DEPTH_BITS: Int + val STENCIL_BITS: Int + val POLYGON_OFFSET_UNITS: Int + val POLYGON_OFFSET_FACTOR: Int + val TEXTURE_BINDING_2D: Int + val SAMPLE_BUFFERS: Int + val SAMPLES: Int + val SAMPLE_COVERAGE_VALUE: Int + val SAMPLE_COVERAGE_INVERT: Int + val COMPRESSED_TEXTURE_FORMATS: Int + val DONT_CARE: Int + val FASTEST: Int + val NICEST: Int + val GENERATE_MIPMAP_HINT: Int + val BYTE: Int + val UNSIGNED_BYTE: Int + val SHORT: Int + val UNSIGNED_SHORT: Int + val INT: Int + val UNSIGNED_INT: Int + val FLOAT: Int + val DEPTH_COMPONENT: Int + val ALPHA: Int + val RGB: Int + val RGBA: Int + val LUMINANCE: Int + val LUMINANCE_ALPHA: Int + val UNSIGNED_SHORT_4_4_4_4: Int + val UNSIGNED_SHORT_5_5_5_1: Int + val UNSIGNED_SHORT_5_6_5: Int + val FRAGMENT_SHADER: Int + val VERTEX_SHADER: Int + val MAX_VERTEX_ATTRIBS: Int + val MAX_VERTEX_UNIFORM_VECTORS: Int + val MAX_VARYING_VECTORS: Int + val MAX_COMBINED_TEXTURE_IMAGE_UNITS: Int + val MAX_VERTEX_TEXTURE_IMAGE_UNITS: Int + val MAX_TEXTURE_IMAGE_UNITS: Int + val MAX_FRAGMENT_UNIFORM_VECTORS: Int + val SHADER_TYPE: Int + val DELETE_STATUS: Int + val LINK_STATUS: Int + val VALIDATE_STATUS: Int + val ATTACHED_SHADERS: Int + val ACTIVE_UNIFORMS: Int + val ACTIVE_ATTRIBUTES: Int + val SHADING_LANGUAGE_VERSION: Int + val CURRENT_PROGRAM: Int + val NEVER: Int + val LESS: Int + val EQUAL: Int + val LEQUAL: Int + val GREATER: Int + val NOTEQUAL: Int + val GEQUAL: Int + val ALWAYS: Int + val KEEP: Int + val REPLACE: Int + val INCR: Int + val DECR: Int + val INVERT: Int + val INCR_WRAP: Int + val DECR_WRAP: Int + val VENDOR: Int + val RENDERER: Int + val VERSION: Int + val NEAREST: Int + val LINEAR: Int + val NEAREST_MIPMAP_NEAREST: Int + val LINEAR_MIPMAP_NEAREST: Int + val NEAREST_MIPMAP_LINEAR: Int + val LINEAR_MIPMAP_LINEAR: Int + val TEXTURE_MAG_FILTER: Int + val TEXTURE_MIN_FILTER: Int + val TEXTURE_WRAP_S: Int + val TEXTURE_WRAP_T: Int + val TEXTURE_2D: Int + val TEXTURE: Int + val TEXTURE_CUBE_MAP: Int + val TEXTURE_BINDING_CUBE_MAP: Int + val TEXTURE_CUBE_MAP_POSITIVE_X: Int + val TEXTURE_CUBE_MAP_NEGATIVE_X: Int + val TEXTURE_CUBE_MAP_POSITIVE_Y: Int + val TEXTURE_CUBE_MAP_NEGATIVE_Y: Int + val TEXTURE_CUBE_MAP_POSITIVE_Z: Int + val TEXTURE_CUBE_MAP_NEGATIVE_Z: Int + val MAX_CUBE_MAP_TEXTURE_SIZE: Int + val TEXTURE0: Int + val TEXTURE1: Int + val TEXTURE2: Int + val TEXTURE3: Int + val TEXTURE4: Int + val TEXTURE5: Int + val TEXTURE6: Int + val TEXTURE7: Int + val TEXTURE8: Int + val TEXTURE9: Int + val TEXTURE10: Int + val TEXTURE11: Int + val TEXTURE12: Int + val TEXTURE13: Int + val TEXTURE14: Int + val TEXTURE15: Int + val TEXTURE16: Int + val TEXTURE17: Int + val TEXTURE18: Int + val TEXTURE19: Int + val TEXTURE20: Int + val TEXTURE21: Int + val TEXTURE22: Int + val TEXTURE23: Int + val TEXTURE24: Int + val TEXTURE25: Int + val TEXTURE26: Int + val TEXTURE27: Int + val TEXTURE28: Int + val TEXTURE29: Int + val TEXTURE30: Int + val TEXTURE31: Int + val ACTIVE_TEXTURE: Int + val REPEAT: Int + val CLAMP_TO_EDGE: Int + val MIRRORED_REPEAT: Int + val FLOAT_VEC2: Int + val FLOAT_VEC3: Int + val FLOAT_VEC4: Int + val INT_VEC2: Int + val INT_VEC3: Int + val INT_VEC4: Int + val BOOL: Int + val BOOL_VEC2: Int + val BOOL_VEC3: Int + val BOOL_VEC4: Int + val FLOAT_MAT2: Int + val FLOAT_MAT3: Int + val FLOAT_MAT4: Int + val SAMPLER_2D: Int + val SAMPLER_CUBE: Int + val VERTEX_ATTRIB_ARRAY_ENABLED: Int + val VERTEX_ATTRIB_ARRAY_SIZE: Int + val VERTEX_ATTRIB_ARRAY_STRIDE: Int + val VERTEX_ATTRIB_ARRAY_TYPE: Int + val VERTEX_ATTRIB_ARRAY_NORMALIZED: Int + val VERTEX_ATTRIB_ARRAY_POINTER: Int + val VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: Int + val IMPLEMENTATION_COLOR_READ_TYPE: Int + val IMPLEMENTATION_COLOR_READ_FORMAT: Int + val COMPILE_STATUS: Int + val LOW_FLOAT: Int + val MEDIUM_FLOAT: Int + val HIGH_FLOAT: Int + val LOW_INT: Int + val MEDIUM_INT: Int + val HIGH_INT: Int + val FRAMEBUFFER: Int + val RENDERBUFFER: Int + val RGBA4: Int + val RGB5_A1: Int + val RGB565: Int + val DEPTH_COMPONENT16: Int + val STENCIL_INDEX: Int + val STENCIL_INDEX8: Int + val DEPTH_STENCIL: Int + val RENDERBUFFER_WIDTH: Int + val RENDERBUFFER_HEIGHT: Int + val RENDERBUFFER_INTERNAL_FORMAT: Int + val RENDERBUFFER_RED_SIZE: Int + val RENDERBUFFER_GREEN_SIZE: Int + val RENDERBUFFER_BLUE_SIZE: Int + val RENDERBUFFER_ALPHA_SIZE: Int + val RENDERBUFFER_DEPTH_SIZE: Int + val RENDERBUFFER_STENCIL_SIZE: Int + val FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: Int + val FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: Int + val FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: Int + val FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: Int + val COLOR_ATTACHMENT0: Int + val DEPTH_ATTACHMENT: Int + val STENCIL_ATTACHMENT: Int + val DEPTH_STENCIL_ATTACHMENT: Int + val NONE: Int + val FRAMEBUFFER_COMPLETE: Int + val FRAMEBUFFER_INCOMPLETE_ATTACHMENT: Int + val FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: Int + val FRAMEBUFFER_INCOMPLETE_DIMENSIONS: Int + val FRAMEBUFFER_UNSUPPORTED: Int + val FRAMEBUFFER_BINDING: Int + val RENDERBUFFER_BINDING: Int + val MAX_RENDERBUFFER_SIZE: Int + val INVALID_FRAMEBUFFER_OPERATION: Int + val UNPACK_FLIP_Y_WEBGL: Int + val UNPACK_PREMULTIPLY_ALPHA_WEBGL: Int + val CONTEXT_LOST_WEBGL: Int + val UNPACK_COLORSPACE_CONVERSION_WEBGL: Int + val BROWSER_DEFAULT_WEBGL: Int } } public external abstract class WebGLRenderingContext : WebGLRenderingContextBase, RenderingContext { companion object { - val DEPTH_BUFFER_BIT: Int = 0x00000100 - val STENCIL_BUFFER_BIT: Int = 0x00000400 - val COLOR_BUFFER_BIT: Int = 0x00004000 - val POINTS: Int = 0x0000 - val LINES: Int = 0x0001 - val LINE_LOOP: Int = 0x0002 - val LINE_STRIP: Int = 0x0003 - val TRIANGLES: Int = 0x0004 - val TRIANGLE_STRIP: Int = 0x0005 - val TRIANGLE_FAN: Int = 0x0006 - val ZERO: Int = 0 - val ONE: Int = 1 - val SRC_COLOR: Int = 0x0300 - val ONE_MINUS_SRC_COLOR: Int = 0x0301 - val SRC_ALPHA: Int = 0x0302 - val ONE_MINUS_SRC_ALPHA: Int = 0x0303 - val DST_ALPHA: Int = 0x0304 - val ONE_MINUS_DST_ALPHA: Int = 0x0305 - val DST_COLOR: Int = 0x0306 - val ONE_MINUS_DST_COLOR: Int = 0x0307 - val SRC_ALPHA_SATURATE: Int = 0x0308 - val FUNC_ADD: Int = 0x8006 - val BLEND_EQUATION: Int = 0x8009 - val BLEND_EQUATION_RGB: Int = 0x8009 - val BLEND_EQUATION_ALPHA: Int = 0x883D - val FUNC_SUBTRACT: Int = 0x800A - val FUNC_REVERSE_SUBTRACT: Int = 0x800B - val BLEND_DST_RGB: Int = 0x80C8 - val BLEND_SRC_RGB: Int = 0x80C9 - val BLEND_DST_ALPHA: Int = 0x80CA - val BLEND_SRC_ALPHA: Int = 0x80CB - val CONSTANT_COLOR: Int = 0x8001 - val ONE_MINUS_CONSTANT_COLOR: Int = 0x8002 - val CONSTANT_ALPHA: Int = 0x8003 - val ONE_MINUS_CONSTANT_ALPHA: Int = 0x8004 - val BLEND_COLOR: Int = 0x8005 - val ARRAY_BUFFER: Int = 0x8892 - val ELEMENT_ARRAY_BUFFER: Int = 0x8893 - val ARRAY_BUFFER_BINDING: Int = 0x8894 - val ELEMENT_ARRAY_BUFFER_BINDING: Int = 0x8895 - val STREAM_DRAW: Int = 0x88E0 - val STATIC_DRAW: Int = 0x88E4 - val DYNAMIC_DRAW: Int = 0x88E8 - val BUFFER_SIZE: Int = 0x8764 - val BUFFER_USAGE: Int = 0x8765 - val CURRENT_VERTEX_ATTRIB: Int = 0x8626 - val FRONT: Int = 0x0404 - val BACK: Int = 0x0405 - val FRONT_AND_BACK: Int = 0x0408 - val CULL_FACE: Int = 0x0B44 - val BLEND: Int = 0x0BE2 - val DITHER: Int = 0x0BD0 - val STENCIL_TEST: Int = 0x0B90 - val DEPTH_TEST: Int = 0x0B71 - val SCISSOR_TEST: Int = 0x0C11 - val POLYGON_OFFSET_FILL: Int = 0x8037 - val SAMPLE_ALPHA_TO_COVERAGE: Int = 0x809E - val SAMPLE_COVERAGE: Int = 0x80A0 - val NO_ERROR: Int = 0 - val INVALID_ENUM: Int = 0x0500 - val INVALID_VALUE: Int = 0x0501 - val INVALID_OPERATION: Int = 0x0502 - val OUT_OF_MEMORY: Int = 0x0505 - val CW: Int = 0x0900 - val CCW: Int = 0x0901 - val LINE_WIDTH: Int = 0x0B21 - val ALIASED_POINT_SIZE_RANGE: Int = 0x846D - val ALIASED_LINE_WIDTH_RANGE: Int = 0x846E - val CULL_FACE_MODE: Int = 0x0B45 - val FRONT_FACE: Int = 0x0B46 - val DEPTH_RANGE: Int = 0x0B70 - val DEPTH_WRITEMASK: Int = 0x0B72 - val DEPTH_CLEAR_VALUE: Int = 0x0B73 - val DEPTH_FUNC: Int = 0x0B74 - val STENCIL_CLEAR_VALUE: Int = 0x0B91 - val STENCIL_FUNC: Int = 0x0B92 - val STENCIL_FAIL: Int = 0x0B94 - val STENCIL_PASS_DEPTH_FAIL: Int = 0x0B95 - val STENCIL_PASS_DEPTH_PASS: Int = 0x0B96 - val STENCIL_REF: Int = 0x0B97 - val STENCIL_VALUE_MASK: Int = 0x0B93 - val STENCIL_WRITEMASK: Int = 0x0B98 - val STENCIL_BACK_FUNC: Int = 0x8800 - val STENCIL_BACK_FAIL: Int = 0x8801 - val STENCIL_BACK_PASS_DEPTH_FAIL: Int = 0x8802 - val STENCIL_BACK_PASS_DEPTH_PASS: Int = 0x8803 - val STENCIL_BACK_REF: Int = 0x8CA3 - val STENCIL_BACK_VALUE_MASK: Int = 0x8CA4 - val STENCIL_BACK_WRITEMASK: Int = 0x8CA5 - val VIEWPORT: Int = 0x0BA2 - val SCISSOR_BOX: Int = 0x0C10 - val COLOR_CLEAR_VALUE: Int = 0x0C22 - val COLOR_WRITEMASK: Int = 0x0C23 - val UNPACK_ALIGNMENT: Int = 0x0CF5 - val PACK_ALIGNMENT: Int = 0x0D05 - val MAX_TEXTURE_SIZE: Int = 0x0D33 - val MAX_VIEWPORT_DIMS: Int = 0x0D3A - val SUBPIXEL_BITS: Int = 0x0D50 - val RED_BITS: Int = 0x0D52 - val GREEN_BITS: Int = 0x0D53 - val BLUE_BITS: Int = 0x0D54 - val ALPHA_BITS: Int = 0x0D55 - val DEPTH_BITS: Int = 0x0D56 - val STENCIL_BITS: Int = 0x0D57 - val POLYGON_OFFSET_UNITS: Int = 0x2A00 - val POLYGON_OFFSET_FACTOR: Int = 0x8038 - val TEXTURE_BINDING_2D: Int = 0x8069 - val SAMPLE_BUFFERS: Int = 0x80A8 - val SAMPLES: Int = 0x80A9 - val SAMPLE_COVERAGE_VALUE: Int = 0x80AA - val SAMPLE_COVERAGE_INVERT: Int = 0x80AB - val COMPRESSED_TEXTURE_FORMATS: Int = 0x86A3 - val DONT_CARE: Int = 0x1100 - val FASTEST: Int = 0x1101 - val NICEST: Int = 0x1102 - val GENERATE_MIPMAP_HINT: Int = 0x8192 - val BYTE: Int = 0x1400 - val UNSIGNED_BYTE: Int = 0x1401 - val SHORT: Int = 0x1402 - val UNSIGNED_SHORT: Int = 0x1403 - val INT: Int = 0x1404 - val UNSIGNED_INT: Int = 0x1405 - val FLOAT: Int = 0x1406 - val DEPTH_COMPONENT: Int = 0x1902 - val ALPHA: Int = 0x1906 - val RGB: Int = 0x1907 - val RGBA: Int = 0x1908 - val LUMINANCE: Int = 0x1909 - val LUMINANCE_ALPHA: Int = 0x190A - val UNSIGNED_SHORT_4_4_4_4: Int = 0x8033 - val UNSIGNED_SHORT_5_5_5_1: Int = 0x8034 - val UNSIGNED_SHORT_5_6_5: Int = 0x8363 - val FRAGMENT_SHADER: Int = 0x8B30 - val VERTEX_SHADER: Int = 0x8B31 - val MAX_VERTEX_ATTRIBS: Int = 0x8869 - val MAX_VERTEX_UNIFORM_VECTORS: Int = 0x8DFB - val MAX_VARYING_VECTORS: Int = 0x8DFC - val MAX_COMBINED_TEXTURE_IMAGE_UNITS: Int = 0x8B4D - val MAX_VERTEX_TEXTURE_IMAGE_UNITS: Int = 0x8B4C - val MAX_TEXTURE_IMAGE_UNITS: Int = 0x8872 - val MAX_FRAGMENT_UNIFORM_VECTORS: Int = 0x8DFD - val SHADER_TYPE: Int = 0x8B4F - val DELETE_STATUS: Int = 0x8B80 - val LINK_STATUS: Int = 0x8B82 - val VALIDATE_STATUS: Int = 0x8B83 - val ATTACHED_SHADERS: Int = 0x8B85 - val ACTIVE_UNIFORMS: Int = 0x8B86 - val ACTIVE_ATTRIBUTES: Int = 0x8B89 - val SHADING_LANGUAGE_VERSION: Int = 0x8B8C - val CURRENT_PROGRAM: Int = 0x8B8D - val NEVER: Int = 0x0200 - val LESS: Int = 0x0201 - val EQUAL: Int = 0x0202 - val LEQUAL: Int = 0x0203 - val GREATER: Int = 0x0204 - val NOTEQUAL: Int = 0x0205 - val GEQUAL: Int = 0x0206 - val ALWAYS: Int = 0x0207 - val KEEP: Int = 0x1E00 - val REPLACE: Int = 0x1E01 - val INCR: Int = 0x1E02 - val DECR: Int = 0x1E03 - val INVERT: Int = 0x150A - val INCR_WRAP: Int = 0x8507 - val DECR_WRAP: Int = 0x8508 - val VENDOR: Int = 0x1F00 - val RENDERER: Int = 0x1F01 - val VERSION: Int = 0x1F02 - val NEAREST: Int = 0x2600 - val LINEAR: Int = 0x2601 - val NEAREST_MIPMAP_NEAREST: Int = 0x2700 - val LINEAR_MIPMAP_NEAREST: Int = 0x2701 - val NEAREST_MIPMAP_LINEAR: Int = 0x2702 - val LINEAR_MIPMAP_LINEAR: Int = 0x2703 - val TEXTURE_MAG_FILTER: Int = 0x2800 - val TEXTURE_MIN_FILTER: Int = 0x2801 - val TEXTURE_WRAP_S: Int = 0x2802 - val TEXTURE_WRAP_T: Int = 0x2803 - val TEXTURE_2D: Int = 0x0DE1 - val TEXTURE: Int = 0x1702 - val TEXTURE_CUBE_MAP: Int = 0x8513 - val TEXTURE_BINDING_CUBE_MAP: Int = 0x8514 - val TEXTURE_CUBE_MAP_POSITIVE_X: Int = 0x8515 - val TEXTURE_CUBE_MAP_NEGATIVE_X: Int = 0x8516 - val TEXTURE_CUBE_MAP_POSITIVE_Y: Int = 0x8517 - val TEXTURE_CUBE_MAP_NEGATIVE_Y: Int = 0x8518 - val TEXTURE_CUBE_MAP_POSITIVE_Z: Int = 0x8519 - val TEXTURE_CUBE_MAP_NEGATIVE_Z: Int = 0x851A - val MAX_CUBE_MAP_TEXTURE_SIZE: Int = 0x851C - val TEXTURE0: Int = 0x84C0 - val TEXTURE1: Int = 0x84C1 - val TEXTURE2: Int = 0x84C2 - val TEXTURE3: Int = 0x84C3 - val TEXTURE4: Int = 0x84C4 - val TEXTURE5: Int = 0x84C5 - val TEXTURE6: Int = 0x84C6 - val TEXTURE7: Int = 0x84C7 - val TEXTURE8: Int = 0x84C8 - val TEXTURE9: Int = 0x84C9 - val TEXTURE10: Int = 0x84CA - val TEXTURE11: Int = 0x84CB - val TEXTURE12: Int = 0x84CC - val TEXTURE13: Int = 0x84CD - val TEXTURE14: Int = 0x84CE - val TEXTURE15: Int = 0x84CF - val TEXTURE16: Int = 0x84D0 - val TEXTURE17: Int = 0x84D1 - val TEXTURE18: Int = 0x84D2 - val TEXTURE19: Int = 0x84D3 - val TEXTURE20: Int = 0x84D4 - val TEXTURE21: Int = 0x84D5 - val TEXTURE22: Int = 0x84D6 - val TEXTURE23: Int = 0x84D7 - val TEXTURE24: Int = 0x84D8 - val TEXTURE25: Int = 0x84D9 - val TEXTURE26: Int = 0x84DA - val TEXTURE27: Int = 0x84DB - val TEXTURE28: Int = 0x84DC - val TEXTURE29: Int = 0x84DD - val TEXTURE30: Int = 0x84DE - val TEXTURE31: Int = 0x84DF - val ACTIVE_TEXTURE: Int = 0x84E0 - val REPEAT: Int = 0x2901 - val CLAMP_TO_EDGE: Int = 0x812F - val MIRRORED_REPEAT: Int = 0x8370 - val FLOAT_VEC2: Int = 0x8B50 - val FLOAT_VEC3: Int = 0x8B51 - val FLOAT_VEC4: Int = 0x8B52 - val INT_VEC2: Int = 0x8B53 - val INT_VEC3: Int = 0x8B54 - val INT_VEC4: Int = 0x8B55 - val BOOL: Int = 0x8B56 - val BOOL_VEC2: Int = 0x8B57 - val BOOL_VEC3: Int = 0x8B58 - val BOOL_VEC4: Int = 0x8B59 - val FLOAT_MAT2: Int = 0x8B5A - val FLOAT_MAT3: Int = 0x8B5B - val FLOAT_MAT4: Int = 0x8B5C - val SAMPLER_2D: Int = 0x8B5E - val SAMPLER_CUBE: Int = 0x8B60 - val VERTEX_ATTRIB_ARRAY_ENABLED: Int = 0x8622 - val VERTEX_ATTRIB_ARRAY_SIZE: Int = 0x8623 - val VERTEX_ATTRIB_ARRAY_STRIDE: Int = 0x8624 - val VERTEX_ATTRIB_ARRAY_TYPE: Int = 0x8625 - val VERTEX_ATTRIB_ARRAY_NORMALIZED: Int = 0x886A - val VERTEX_ATTRIB_ARRAY_POINTER: Int = 0x8645 - val VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: Int = 0x889F - val IMPLEMENTATION_COLOR_READ_TYPE: Int = 0x8B9A - val IMPLEMENTATION_COLOR_READ_FORMAT: Int = 0x8B9B - val COMPILE_STATUS: Int = 0x8B81 - val LOW_FLOAT: Int = 0x8DF0 - val MEDIUM_FLOAT: Int = 0x8DF1 - val HIGH_FLOAT: Int = 0x8DF2 - val LOW_INT: Int = 0x8DF3 - val MEDIUM_INT: Int = 0x8DF4 - val HIGH_INT: Int = 0x8DF5 - val FRAMEBUFFER: Int = 0x8D40 - val RENDERBUFFER: Int = 0x8D41 - val RGBA4: Int = 0x8056 - val RGB5_A1: Int = 0x8057 - val RGB565: Int = 0x8D62 - val DEPTH_COMPONENT16: Int = 0x81A5 - val STENCIL_INDEX: Int = 0x1901 - val STENCIL_INDEX8: Int = 0x8D48 - val DEPTH_STENCIL: Int = 0x84F9 - val RENDERBUFFER_WIDTH: Int = 0x8D42 - val RENDERBUFFER_HEIGHT: Int = 0x8D43 - val RENDERBUFFER_INTERNAL_FORMAT: Int = 0x8D44 - val RENDERBUFFER_RED_SIZE: Int = 0x8D50 - val RENDERBUFFER_GREEN_SIZE: Int = 0x8D51 - val RENDERBUFFER_BLUE_SIZE: Int = 0x8D52 - val RENDERBUFFER_ALPHA_SIZE: Int = 0x8D53 - val RENDERBUFFER_DEPTH_SIZE: Int = 0x8D54 - val RENDERBUFFER_STENCIL_SIZE: Int = 0x8D55 - val FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: Int = 0x8CD0 - val FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: Int = 0x8CD1 - val FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: Int = 0x8CD2 - val FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: Int = 0x8CD3 - val COLOR_ATTACHMENT0: Int = 0x8CE0 - val DEPTH_ATTACHMENT: Int = 0x8D00 - val STENCIL_ATTACHMENT: Int = 0x8D20 - val DEPTH_STENCIL_ATTACHMENT: Int = 0x821A - val NONE: Int = 0 - val FRAMEBUFFER_COMPLETE: Int = 0x8CD5 - val FRAMEBUFFER_INCOMPLETE_ATTACHMENT: Int = 0x8CD6 - val FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: Int = 0x8CD7 - val FRAMEBUFFER_INCOMPLETE_DIMENSIONS: Int = 0x8CD9 - val FRAMEBUFFER_UNSUPPORTED: Int = 0x8CDD - val FRAMEBUFFER_BINDING: Int = 0x8CA6 - val RENDERBUFFER_BINDING: Int = 0x8CA7 - val MAX_RENDERBUFFER_SIZE: Int = 0x84E8 - val INVALID_FRAMEBUFFER_OPERATION: Int = 0x0506 - val UNPACK_FLIP_Y_WEBGL: Int = 0x9240 - val UNPACK_PREMULTIPLY_ALPHA_WEBGL: Int = 0x9241 - val CONTEXT_LOST_WEBGL: Int = 0x9242 - val UNPACK_COLORSPACE_CONVERSION_WEBGL: Int = 0x9243 - val BROWSER_DEFAULT_WEBGL: Int = 0x9244 + val DEPTH_BUFFER_BIT: Int + val STENCIL_BUFFER_BIT: Int + val COLOR_BUFFER_BIT: Int + val POINTS: Int + val LINES: Int + val LINE_LOOP: Int + val LINE_STRIP: Int + val TRIANGLES: Int + val TRIANGLE_STRIP: Int + val TRIANGLE_FAN: Int + val ZERO: Int + val ONE: Int + val SRC_COLOR: Int + val ONE_MINUS_SRC_COLOR: Int + val SRC_ALPHA: Int + val ONE_MINUS_SRC_ALPHA: Int + val DST_ALPHA: Int + val ONE_MINUS_DST_ALPHA: Int + val DST_COLOR: Int + val ONE_MINUS_DST_COLOR: Int + val SRC_ALPHA_SATURATE: Int + val FUNC_ADD: Int + val BLEND_EQUATION: Int + val BLEND_EQUATION_RGB: Int + val BLEND_EQUATION_ALPHA: Int + val FUNC_SUBTRACT: Int + val FUNC_REVERSE_SUBTRACT: Int + val BLEND_DST_RGB: Int + val BLEND_SRC_RGB: Int + val BLEND_DST_ALPHA: Int + val BLEND_SRC_ALPHA: Int + val CONSTANT_COLOR: Int + val ONE_MINUS_CONSTANT_COLOR: Int + val CONSTANT_ALPHA: Int + val ONE_MINUS_CONSTANT_ALPHA: Int + val BLEND_COLOR: Int + val ARRAY_BUFFER: Int + val ELEMENT_ARRAY_BUFFER: Int + val ARRAY_BUFFER_BINDING: Int + val ELEMENT_ARRAY_BUFFER_BINDING: Int + val STREAM_DRAW: Int + val STATIC_DRAW: Int + val DYNAMIC_DRAW: Int + val BUFFER_SIZE: Int + val BUFFER_USAGE: Int + val CURRENT_VERTEX_ATTRIB: Int + val FRONT: Int + val BACK: Int + val FRONT_AND_BACK: Int + val CULL_FACE: Int + val BLEND: Int + val DITHER: Int + val STENCIL_TEST: Int + val DEPTH_TEST: Int + val SCISSOR_TEST: Int + val POLYGON_OFFSET_FILL: Int + val SAMPLE_ALPHA_TO_COVERAGE: Int + val SAMPLE_COVERAGE: Int + val NO_ERROR: Int + val INVALID_ENUM: Int + val INVALID_VALUE: Int + val INVALID_OPERATION: Int + val OUT_OF_MEMORY: Int + val CW: Int + val CCW: Int + val LINE_WIDTH: Int + val ALIASED_POINT_SIZE_RANGE: Int + val ALIASED_LINE_WIDTH_RANGE: Int + val CULL_FACE_MODE: Int + val FRONT_FACE: Int + val DEPTH_RANGE: Int + val DEPTH_WRITEMASK: Int + val DEPTH_CLEAR_VALUE: Int + val DEPTH_FUNC: Int + val STENCIL_CLEAR_VALUE: Int + val STENCIL_FUNC: Int + val STENCIL_FAIL: Int + val STENCIL_PASS_DEPTH_FAIL: Int + val STENCIL_PASS_DEPTH_PASS: Int + val STENCIL_REF: Int + val STENCIL_VALUE_MASK: Int + val STENCIL_WRITEMASK: Int + val STENCIL_BACK_FUNC: Int + val STENCIL_BACK_FAIL: Int + val STENCIL_BACK_PASS_DEPTH_FAIL: Int + val STENCIL_BACK_PASS_DEPTH_PASS: Int + val STENCIL_BACK_REF: Int + val STENCIL_BACK_VALUE_MASK: Int + val STENCIL_BACK_WRITEMASK: Int + val VIEWPORT: Int + val SCISSOR_BOX: Int + val COLOR_CLEAR_VALUE: Int + val COLOR_WRITEMASK: Int + val UNPACK_ALIGNMENT: Int + val PACK_ALIGNMENT: Int + val MAX_TEXTURE_SIZE: Int + val MAX_VIEWPORT_DIMS: Int + val SUBPIXEL_BITS: Int + val RED_BITS: Int + val GREEN_BITS: Int + val BLUE_BITS: Int + val ALPHA_BITS: Int + val DEPTH_BITS: Int + val STENCIL_BITS: Int + val POLYGON_OFFSET_UNITS: Int + val POLYGON_OFFSET_FACTOR: Int + val TEXTURE_BINDING_2D: Int + val SAMPLE_BUFFERS: Int + val SAMPLES: Int + val SAMPLE_COVERAGE_VALUE: Int + val SAMPLE_COVERAGE_INVERT: Int + val COMPRESSED_TEXTURE_FORMATS: Int + val DONT_CARE: Int + val FASTEST: Int + val NICEST: Int + val GENERATE_MIPMAP_HINT: Int + val BYTE: Int + val UNSIGNED_BYTE: Int + val SHORT: Int + val UNSIGNED_SHORT: Int + val INT: Int + val UNSIGNED_INT: Int + val FLOAT: Int + val DEPTH_COMPONENT: Int + val ALPHA: Int + val RGB: Int + val RGBA: Int + val LUMINANCE: Int + val LUMINANCE_ALPHA: Int + val UNSIGNED_SHORT_4_4_4_4: Int + val UNSIGNED_SHORT_5_5_5_1: Int + val UNSIGNED_SHORT_5_6_5: Int + val FRAGMENT_SHADER: Int + val VERTEX_SHADER: Int + val MAX_VERTEX_ATTRIBS: Int + val MAX_VERTEX_UNIFORM_VECTORS: Int + val MAX_VARYING_VECTORS: Int + val MAX_COMBINED_TEXTURE_IMAGE_UNITS: Int + val MAX_VERTEX_TEXTURE_IMAGE_UNITS: Int + val MAX_TEXTURE_IMAGE_UNITS: Int + val MAX_FRAGMENT_UNIFORM_VECTORS: Int + val SHADER_TYPE: Int + val DELETE_STATUS: Int + val LINK_STATUS: Int + val VALIDATE_STATUS: Int + val ATTACHED_SHADERS: Int + val ACTIVE_UNIFORMS: Int + val ACTIVE_ATTRIBUTES: Int + val SHADING_LANGUAGE_VERSION: Int + val CURRENT_PROGRAM: Int + val NEVER: Int + val LESS: Int + val EQUAL: Int + val LEQUAL: Int + val GREATER: Int + val NOTEQUAL: Int + val GEQUAL: Int + val ALWAYS: Int + val KEEP: Int + val REPLACE: Int + val INCR: Int + val DECR: Int + val INVERT: Int + val INCR_WRAP: Int + val DECR_WRAP: Int + val VENDOR: Int + val RENDERER: Int + val VERSION: Int + val NEAREST: Int + val LINEAR: Int + val NEAREST_MIPMAP_NEAREST: Int + val LINEAR_MIPMAP_NEAREST: Int + val NEAREST_MIPMAP_LINEAR: Int + val LINEAR_MIPMAP_LINEAR: Int + val TEXTURE_MAG_FILTER: Int + val TEXTURE_MIN_FILTER: Int + val TEXTURE_WRAP_S: Int + val TEXTURE_WRAP_T: Int + val TEXTURE_2D: Int + val TEXTURE: Int + val TEXTURE_CUBE_MAP: Int + val TEXTURE_BINDING_CUBE_MAP: Int + val TEXTURE_CUBE_MAP_POSITIVE_X: Int + val TEXTURE_CUBE_MAP_NEGATIVE_X: Int + val TEXTURE_CUBE_MAP_POSITIVE_Y: Int + val TEXTURE_CUBE_MAP_NEGATIVE_Y: Int + val TEXTURE_CUBE_MAP_POSITIVE_Z: Int + val TEXTURE_CUBE_MAP_NEGATIVE_Z: Int + val MAX_CUBE_MAP_TEXTURE_SIZE: Int + val TEXTURE0: Int + val TEXTURE1: Int + val TEXTURE2: Int + val TEXTURE3: Int + val TEXTURE4: Int + val TEXTURE5: Int + val TEXTURE6: Int + val TEXTURE7: Int + val TEXTURE8: Int + val TEXTURE9: Int + val TEXTURE10: Int + val TEXTURE11: Int + val TEXTURE12: Int + val TEXTURE13: Int + val TEXTURE14: Int + val TEXTURE15: Int + val TEXTURE16: Int + val TEXTURE17: Int + val TEXTURE18: Int + val TEXTURE19: Int + val TEXTURE20: Int + val TEXTURE21: Int + val TEXTURE22: Int + val TEXTURE23: Int + val TEXTURE24: Int + val TEXTURE25: Int + val TEXTURE26: Int + val TEXTURE27: Int + val TEXTURE28: Int + val TEXTURE29: Int + val TEXTURE30: Int + val TEXTURE31: Int + val ACTIVE_TEXTURE: Int + val REPEAT: Int + val CLAMP_TO_EDGE: Int + val MIRRORED_REPEAT: Int + val FLOAT_VEC2: Int + val FLOAT_VEC3: Int + val FLOAT_VEC4: Int + val INT_VEC2: Int + val INT_VEC3: Int + val INT_VEC4: Int + val BOOL: Int + val BOOL_VEC2: Int + val BOOL_VEC3: Int + val BOOL_VEC4: Int + val FLOAT_MAT2: Int + val FLOAT_MAT3: Int + val FLOAT_MAT4: Int + val SAMPLER_2D: Int + val SAMPLER_CUBE: Int + val VERTEX_ATTRIB_ARRAY_ENABLED: Int + val VERTEX_ATTRIB_ARRAY_SIZE: Int + val VERTEX_ATTRIB_ARRAY_STRIDE: Int + val VERTEX_ATTRIB_ARRAY_TYPE: Int + val VERTEX_ATTRIB_ARRAY_NORMALIZED: Int + val VERTEX_ATTRIB_ARRAY_POINTER: Int + val VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: Int + val IMPLEMENTATION_COLOR_READ_TYPE: Int + val IMPLEMENTATION_COLOR_READ_FORMAT: Int + val COMPILE_STATUS: Int + val LOW_FLOAT: Int + val MEDIUM_FLOAT: Int + val HIGH_FLOAT: Int + val LOW_INT: Int + val MEDIUM_INT: Int + val HIGH_INT: Int + val FRAMEBUFFER: Int + val RENDERBUFFER: Int + val RGBA4: Int + val RGB5_A1: Int + val RGB565: Int + val DEPTH_COMPONENT16: Int + val STENCIL_INDEX: Int + val STENCIL_INDEX8: Int + val DEPTH_STENCIL: Int + val RENDERBUFFER_WIDTH: Int + val RENDERBUFFER_HEIGHT: Int + val RENDERBUFFER_INTERNAL_FORMAT: Int + val RENDERBUFFER_RED_SIZE: Int + val RENDERBUFFER_GREEN_SIZE: Int + val RENDERBUFFER_BLUE_SIZE: Int + val RENDERBUFFER_ALPHA_SIZE: Int + val RENDERBUFFER_DEPTH_SIZE: Int + val RENDERBUFFER_STENCIL_SIZE: Int + val FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: Int + val FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: Int + val FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: Int + val FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: Int + val COLOR_ATTACHMENT0: Int + val DEPTH_ATTACHMENT: Int + val STENCIL_ATTACHMENT: Int + val DEPTH_STENCIL_ATTACHMENT: Int + val NONE: Int + val FRAMEBUFFER_COMPLETE: Int + val FRAMEBUFFER_INCOMPLETE_ATTACHMENT: Int + val FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: Int + val FRAMEBUFFER_INCOMPLETE_DIMENSIONS: Int + val FRAMEBUFFER_UNSUPPORTED: Int + val FRAMEBUFFER_BINDING: Int + val RENDERBUFFER_BINDING: Int + val MAX_RENDERBUFFER_SIZE: Int + val INVALID_FRAMEBUFFER_OPERATION: Int + val UNPACK_FLIP_Y_WEBGL: Int + val UNPACK_PREMULTIPLY_ALPHA_WEBGL: Int + val CONTEXT_LOST_WEBGL: Int + val UNPACK_COLORSPACE_CONVERSION_WEBGL: Int + val BROWSER_DEFAULT_WEBGL: Int } } public external open class WebGLContextEvent(type: String, eventInit: WebGLContextEventInit = noImpl) : Event(type, noImpl) { open val statusMessage: String - get() = noImpl } public external interface WebGLContextEventInit : EventInit { var statusMessage: String? /* = "" */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -874,21 +882,17 @@ public inline fun WebGLContextEventInit(statusMessage: String? = "", bubbles: Bo public external open class ArrayBuffer(length: Int) : BufferDataSource { open val byteLength: Int - get() = noImpl - fun slice(begin: Int, end: Int = noImpl): ArrayBuffer = noImpl + fun slice(begin: Int, end: Int = noImpl): ArrayBuffer companion object { - fun isView(value: Any?): Boolean = noImpl + fun isView(value: Any?): Boolean } } public external interface ArrayBufferView : BufferDataSource { val buffer: ArrayBuffer - get() = noImpl val byteOffset: Int - get() = noImpl val byteLength: Int - get() = noImpl } public external open class Int8Array : ArrayBufferView { @@ -897,18 +901,20 @@ public external open class Int8Array : ArrayBufferView { constructor(array: Array) constructor(buffer: ArrayBuffer, byteOffset: Int = noImpl, length: Int = noImpl) open val length: Int - get() = noImpl + override val buffer: ArrayBuffer + override val byteOffset: Int + override val byteLength: Int @Suppress("NATIVE_GETTER_RETURN_TYPE_SHOULD_BE_NULLABLE") @nativeGetter - operator fun get(index: Int): Byte = noImpl + operator fun get(index: Int): Byte @nativeSetter - operator fun set(index: Int, value: Byte): Unit = noImpl - fun set(array: Int8Array, offset: Int = noImpl): Unit = noImpl - fun set(array: Array, offset: Int = noImpl): Unit = noImpl - fun subarray(start: Int, end: Int): Int8Array = noImpl + operator fun set(index: Int, value: Byte): Unit + fun set(array: Int8Array, offset: Int = noImpl): Unit + fun set(array: Array, offset: Int = noImpl): Unit + fun subarray(start: Int, end: Int): Int8Array companion object { - val BYTES_PER_ELEMENT: Int = 1 + val BYTES_PER_ELEMENT: Int } } @@ -918,18 +924,20 @@ public external open class Uint8Array : ArrayBufferView { constructor(array: Array) constructor(buffer: ArrayBuffer, byteOffset: Int = noImpl, length: Int = noImpl) open val length: Int - get() = noImpl + override val buffer: ArrayBuffer + override val byteOffset: Int + override val byteLength: Int @Suppress("NATIVE_GETTER_RETURN_TYPE_SHOULD_BE_NULLABLE") @nativeGetter - operator fun get(index: Int): Byte = noImpl + operator fun get(index: Int): Byte @nativeSetter - operator fun set(index: Int, value: Byte): Unit = noImpl - fun set(array: Uint8Array, offset: Int = noImpl): Unit = noImpl - fun set(array: Array, offset: Int = noImpl): Unit = noImpl - fun subarray(start: Int, end: Int): Uint8Array = noImpl + operator fun set(index: Int, value: Byte): Unit + fun set(array: Uint8Array, offset: Int = noImpl): Unit + fun set(array: Array, offset: Int = noImpl): Unit + fun subarray(start: Int, end: Int): Uint8Array companion object { - val BYTES_PER_ELEMENT: Int = 1 + val BYTES_PER_ELEMENT: Int } } @@ -939,18 +947,20 @@ public external open class Uint8ClampedArray : ArrayBufferView { constructor(array: Array) constructor(buffer: ArrayBuffer, byteOffset: Int = noImpl, length: Int = noImpl) open val length: Int - get() = noImpl + override val buffer: ArrayBuffer + override val byteOffset: Int + override val byteLength: Int @Suppress("NATIVE_GETTER_RETURN_TYPE_SHOULD_BE_NULLABLE") @nativeGetter - operator fun get(index: Int): Byte = noImpl + operator fun get(index: Int): Byte @nativeSetter - operator fun set(index: Int, value: Byte): Unit = noImpl - fun set(array: Uint8ClampedArray, offset: Int = noImpl): Unit = noImpl - fun set(array: Array, offset: Int = noImpl): Unit = noImpl - fun subarray(start: Int, end: Int): Uint8ClampedArray = noImpl + operator fun set(index: Int, value: Byte): Unit + fun set(array: Uint8ClampedArray, offset: Int = noImpl): Unit + fun set(array: Array, offset: Int = noImpl): Unit + fun subarray(start: Int, end: Int): Uint8ClampedArray companion object { - val BYTES_PER_ELEMENT: Int = 1 + val BYTES_PER_ELEMENT: Int } } @@ -960,18 +970,20 @@ public external open class Int16Array : ArrayBufferView { constructor(array: Array) constructor(buffer: ArrayBuffer, byteOffset: Int = noImpl, length: Int = noImpl) open val length: Int - get() = noImpl + override val buffer: ArrayBuffer + override val byteOffset: Int + override val byteLength: Int @Suppress("NATIVE_GETTER_RETURN_TYPE_SHOULD_BE_NULLABLE") @nativeGetter - operator fun get(index: Int): Short = noImpl + operator fun get(index: Int): Short @nativeSetter - operator fun set(index: Int, value: Short): Unit = noImpl - fun set(array: Int16Array, offset: Int = noImpl): Unit = noImpl - fun set(array: Array, offset: Int = noImpl): Unit = noImpl - fun subarray(start: Int, end: Int): Int16Array = noImpl + operator fun set(index: Int, value: Short): Unit + fun set(array: Int16Array, offset: Int = noImpl): Unit + fun set(array: Array, offset: Int = noImpl): Unit + fun subarray(start: Int, end: Int): Int16Array companion object { - val BYTES_PER_ELEMENT: Int = 2 + val BYTES_PER_ELEMENT: Int } } @@ -981,18 +993,20 @@ public external open class Uint16Array : ArrayBufferView { constructor(array: Array) constructor(buffer: ArrayBuffer, byteOffset: Int = noImpl, length: Int = noImpl) open val length: Int - get() = noImpl + override val buffer: ArrayBuffer + override val byteOffset: Int + override val byteLength: Int @Suppress("NATIVE_GETTER_RETURN_TYPE_SHOULD_BE_NULLABLE") @nativeGetter - operator fun get(index: Int): Short = noImpl + operator fun get(index: Int): Short @nativeSetter - operator fun set(index: Int, value: Short): Unit = noImpl - fun set(array: Uint16Array, offset: Int = noImpl): Unit = noImpl - fun set(array: Array, offset: Int = noImpl): Unit = noImpl - fun subarray(start: Int, end: Int): Uint16Array = noImpl + operator fun set(index: Int, value: Short): Unit + fun set(array: Uint16Array, offset: Int = noImpl): Unit + fun set(array: Array, offset: Int = noImpl): Unit + fun subarray(start: Int, end: Int): Uint16Array companion object { - val BYTES_PER_ELEMENT: Int = 2 + val BYTES_PER_ELEMENT: Int } } @@ -1002,18 +1016,20 @@ public external open class Int32Array : ArrayBufferView { constructor(array: Array) constructor(buffer: ArrayBuffer, byteOffset: Int = noImpl, length: Int = noImpl) open val length: Int - get() = noImpl + override val buffer: ArrayBuffer + override val byteOffset: Int + override val byteLength: Int @Suppress("NATIVE_GETTER_RETURN_TYPE_SHOULD_BE_NULLABLE") @nativeGetter - operator fun get(index: Int): Int = noImpl + operator fun get(index: Int): Int @nativeSetter - operator fun set(index: Int, value: Int): Unit = noImpl - fun set(array: Int32Array, offset: Int = noImpl): Unit = noImpl - fun set(array: Array, offset: Int = noImpl): Unit = noImpl - fun subarray(start: Int, end: Int): Int32Array = noImpl + operator fun set(index: Int, value: Int): Unit + fun set(array: Int32Array, offset: Int = noImpl): Unit + fun set(array: Array, offset: Int = noImpl): Unit + fun subarray(start: Int, end: Int): Int32Array companion object { - val BYTES_PER_ELEMENT: Int = 4 + val BYTES_PER_ELEMENT: Int } } @@ -1023,18 +1039,20 @@ public external open class Uint32Array : ArrayBufferView { constructor(array: Array) constructor(buffer: ArrayBuffer, byteOffset: Int = noImpl, length: Int = noImpl) open val length: Int - get() = noImpl + override val buffer: ArrayBuffer + override val byteOffset: Int + override val byteLength: Int @Suppress("NATIVE_GETTER_RETURN_TYPE_SHOULD_BE_NULLABLE") @nativeGetter - operator fun get(index: Int): Int = noImpl + operator fun get(index: Int): Int @nativeSetter - operator fun set(index: Int, value: Int): Unit = noImpl - fun set(array: Uint32Array, offset: Int = noImpl): Unit = noImpl - fun set(array: Array, offset: Int = noImpl): Unit = noImpl - fun subarray(start: Int, end: Int): Uint32Array = noImpl + operator fun set(index: Int, value: Int): Unit + fun set(array: Uint32Array, offset: Int = noImpl): Unit + fun set(array: Array, offset: Int = noImpl): Unit + fun subarray(start: Int, end: Int): Uint32Array companion object { - val BYTES_PER_ELEMENT: Int = 4 + val BYTES_PER_ELEMENT: Int } } @@ -1044,18 +1062,20 @@ public external open class Float32Array : ArrayBufferView { constructor(array: Array) constructor(buffer: ArrayBuffer, byteOffset: Int = noImpl, length: Int = noImpl) open val length: Int - get() = noImpl + override val buffer: ArrayBuffer + override val byteOffset: Int + override val byteLength: Int @Suppress("NATIVE_GETTER_RETURN_TYPE_SHOULD_BE_NULLABLE") @nativeGetter - operator fun get(index: Int): Float = noImpl + operator fun get(index: Int): Float @nativeSetter - operator fun set(index: Int, value: Float): Unit = noImpl - fun set(array: Float32Array, offset: Int = noImpl): Unit = noImpl - fun set(array: Array, offset: Int = noImpl): Unit = noImpl - fun subarray(start: Int, end: Int): Float32Array = noImpl + operator fun set(index: Int, value: Float): Unit + fun set(array: Float32Array, offset: Int = noImpl): Unit + fun set(array: Array, offset: Int = noImpl): Unit + fun subarray(start: Int, end: Int): Float32Array companion object { - val BYTES_PER_ELEMENT: Int = 4 + val BYTES_PER_ELEMENT: Int } } @@ -1065,38 +1085,43 @@ public external open class Float64Array : ArrayBufferView { constructor(array: Array) constructor(buffer: ArrayBuffer, byteOffset: Int = noImpl, length: Int = noImpl) open val length: Int - get() = noImpl + override val buffer: ArrayBuffer + override val byteOffset: Int + override val byteLength: Int @Suppress("NATIVE_GETTER_RETURN_TYPE_SHOULD_BE_NULLABLE") @nativeGetter - operator fun get(index: Int): Double = noImpl + operator fun get(index: Int): Double @nativeSetter - operator fun set(index: Int, value: Double): Unit = noImpl - fun set(array: Float64Array, offset: Int = noImpl): Unit = noImpl - fun set(array: Array, offset: Int = noImpl): Unit = noImpl - fun subarray(start: Int, end: Int): Float64Array = noImpl + operator fun set(index: Int, value: Double): Unit + fun set(array: Float64Array, offset: Int = noImpl): Unit + fun set(array: Array, offset: Int = noImpl): Unit + fun subarray(start: Int, end: Int): Float64Array companion object { - val BYTES_PER_ELEMENT: Int = 8 + val BYTES_PER_ELEMENT: Int } } 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 - fun getUint16(byteOffset: Int, littleEndian: Boolean = noImpl): Short = noImpl - fun getInt32(byteOffset: Int, littleEndian: Boolean = noImpl): Int = noImpl - fun getUint32(byteOffset: Int, littleEndian: Boolean = noImpl): Int = noImpl - fun getFloat32(byteOffset: Int, littleEndian: Boolean = noImpl): Float = noImpl - fun getFloat64(byteOffset: Int, littleEndian: Boolean = noImpl): Double = noImpl - fun setInt8(byteOffset: Int, value: Byte): Unit = noImpl - fun setUint8(byteOffset: Int, value: Byte): Unit = noImpl - fun setInt16(byteOffset: Int, value: Short, littleEndian: Boolean = noImpl): Unit = noImpl - fun setUint16(byteOffset: Int, value: Short, littleEndian: Boolean = noImpl): Unit = noImpl - fun setInt32(byteOffset: Int, value: Int, littleEndian: Boolean = noImpl): Unit = noImpl - fun setUint32(byteOffset: Int, value: Int, littleEndian: Boolean = noImpl): Unit = noImpl - fun setFloat32(byteOffset: Int, value: Float, littleEndian: Boolean = noImpl): Unit = noImpl - fun setFloat64(byteOffset: Int, value: Double, littleEndian: Boolean = noImpl): Unit = noImpl + override val buffer: ArrayBuffer + override val byteOffset: Int + override val byteLength: Int + fun getInt8(byteOffset: Int): Byte + fun getUint8(byteOffset: Int): Byte + fun getInt16(byteOffset: Int, littleEndian: Boolean = noImpl): Short + fun getUint16(byteOffset: Int, littleEndian: Boolean = noImpl): Short + fun getInt32(byteOffset: Int, littleEndian: Boolean = noImpl): Int + fun getUint32(byteOffset: Int, littleEndian: Boolean = noImpl): Int + fun getFloat32(byteOffset: Int, littleEndian: Boolean = noImpl): Float + fun getFloat64(byteOffset: Int, littleEndian: Boolean = noImpl): Double + fun setInt8(byteOffset: Int, value: Byte): Unit + fun setUint8(byteOffset: Int, value: Byte): Unit + fun setInt16(byteOffset: Int, value: Short, littleEndian: Boolean = noImpl): Unit + fun setUint16(byteOffset: Int, value: Short, littleEndian: Boolean = noImpl): Unit + fun setInt32(byteOffset: Int, value: Int, littleEndian: Boolean = noImpl): Unit + fun setUint32(byteOffset: Int, value: Int, littleEndian: Boolean = noImpl): Unit + fun setFloat32(byteOffset: Int, value: Float, littleEndian: Boolean = noImpl): Unit + fun setFloat64(byteOffset: Int, value: Double, littleEndian: Boolean = noImpl): Unit } public external @marker interface BufferDataSource { diff --git a/js/js.libraries/src/generated/org.w3c.dom.css.kt b/js/js.libraries/src/generated/org.w3c.dom.css.kt index 9a43f41c100..059c097cbe8 100644 --- a/js/js.libraries/src/generated/org.w3c.dom.css.kt +++ b/js/js.libraries/src/generated/org.w3c.dom.css.kt @@ -22,848 +22,353 @@ import org.w3c.xhr.* public external abstract class CSSStyleDeclaration { open var cssText: String - get() = noImpl - set(value) = noImpl open val length: Int - get() = noImpl open val parentRule: CSSRule? - get() = noImpl open var cssFloat: String - get() = noImpl - set(value) = noImpl open var _dashed_attribute: String - get() = noImpl - set(value) = noImpl open var _camel_cased_attribute: String - get() = noImpl - set(value) = noImpl open var _webkit_cased_attribute: String - get() = noImpl - set(value) = noImpl open var alignContent: String - get() = noImpl - set(value) = noImpl open var alignItems: String - get() = noImpl - set(value) = noImpl open var alignSelf: String - get() = noImpl - set(value) = noImpl open var animation: String - get() = noImpl - set(value) = noImpl open var animationDelay: String - get() = noImpl - set(value) = noImpl open var animationDirection: String - get() = noImpl - set(value) = noImpl open var animationDuration: String - get() = noImpl - set(value) = noImpl open var animationFillMode: String - get() = noImpl - set(value) = noImpl open var animationIterationCount: String - get() = noImpl - set(value) = noImpl open var animationName: String - get() = noImpl - set(value) = noImpl open var animationPlayState: String - get() = noImpl - set(value) = noImpl open var animationTimingFunction: String - get() = noImpl - set(value) = noImpl open var backfaceVisibility: String - get() = noImpl - set(value) = noImpl open var background: String - get() = noImpl - set(value) = noImpl open var backgroundAttachment: String - get() = noImpl - set(value) = noImpl open var backgroundClip: String - get() = noImpl - set(value) = noImpl open var backgroundColor: String - get() = noImpl - set(value) = noImpl open var backgroundImage: String - get() = noImpl - set(value) = noImpl open var backgroundOrigin: String - get() = noImpl - set(value) = noImpl open var backgroundPosition: String - get() = noImpl - set(value) = noImpl open var backgroundRepeat: String - get() = noImpl - set(value) = noImpl open var backgroundSize: String - get() = noImpl - set(value) = noImpl open var border: String - get() = noImpl - set(value) = noImpl open var borderBottom: String - get() = noImpl - set(value) = noImpl open var borderBottomColor: String - get() = noImpl - set(value) = noImpl open var borderBottomLeftRadius: String - get() = noImpl - set(value) = noImpl open var borderBottomRightRadius: String - get() = noImpl - set(value) = noImpl open var borderBottomStyle: String - get() = noImpl - set(value) = noImpl open var borderBottomWidth: String - get() = noImpl - set(value) = noImpl open var borderCollapse: String - get() = noImpl - set(value) = noImpl open var borderColor: String - get() = noImpl - set(value) = noImpl open var borderImage: String - get() = noImpl - set(value) = noImpl open var borderImageOutset: String - get() = noImpl - set(value) = noImpl open var borderImageRepeat: String - get() = noImpl - set(value) = noImpl open var borderImageSlice: String - get() = noImpl - set(value) = noImpl open var borderImageSource: String - get() = noImpl - set(value) = noImpl open var borderImageWidth: String - get() = noImpl - set(value) = noImpl open var borderLeft: String - get() = noImpl - set(value) = noImpl open var borderLeftColor: String - get() = noImpl - set(value) = noImpl open var borderLeftStyle: String - get() = noImpl - set(value) = noImpl open var borderLeftWidth: String - get() = noImpl - set(value) = noImpl open var borderRadius: String - get() = noImpl - set(value) = noImpl open var borderRight: String - get() = noImpl - set(value) = noImpl open var borderRightColor: String - get() = noImpl - set(value) = noImpl open var borderRightStyle: String - get() = noImpl - set(value) = noImpl open var borderRightWidth: String - get() = noImpl - set(value) = noImpl open var borderSpacing: String - get() = noImpl - set(value) = noImpl open var borderStyle: String - get() = noImpl - set(value) = noImpl open var borderTop: String - get() = noImpl - set(value) = noImpl open var borderTopColor: String - get() = noImpl - set(value) = noImpl open var borderTopLeftRadius: String - get() = noImpl - set(value) = noImpl open var borderTopRightRadius: String - get() = noImpl - set(value) = noImpl open var borderTopStyle: String - get() = noImpl - set(value) = noImpl open var borderTopWidth: String - get() = noImpl - set(value) = noImpl open var borderWidth: String - get() = noImpl - set(value) = noImpl open var bottom: String - get() = noImpl - set(value) = noImpl open var boxDecorationBreak: String - get() = noImpl - set(value) = noImpl open var boxShadow: String - get() = noImpl - set(value) = noImpl open var boxSizing: String - get() = noImpl - set(value) = noImpl open var breakAfter: String - get() = noImpl - set(value) = noImpl open var breakBefore: String - get() = noImpl - set(value) = noImpl open var breakInside: String - get() = noImpl - set(value) = noImpl open var captionSide: String - get() = noImpl - set(value) = noImpl open var clear: String - get() = noImpl - set(value) = noImpl open var clip: String - get() = noImpl - set(value) = noImpl open var color: String - get() = noImpl - set(value) = noImpl open var columnCount: String - get() = noImpl - set(value) = noImpl open var columnFill: String - get() = noImpl - set(value) = noImpl open var columnGap: String - get() = noImpl - set(value) = noImpl open var columnRule: String - get() = noImpl - set(value) = noImpl open var columnRuleColor: String - get() = noImpl - set(value) = noImpl open var columnRuleStyle: String - get() = noImpl - set(value) = noImpl open var columnRuleWidth: String - get() = noImpl - set(value) = noImpl open var columnSpan: String - get() = noImpl - set(value) = noImpl open var columnWidth: String - get() = noImpl - set(value) = noImpl open var columns: String - get() = noImpl - set(value) = noImpl open var content: String - get() = noImpl - set(value) = noImpl open var counterIncrement: String - get() = noImpl - set(value) = noImpl open var counterReset: String - get() = noImpl - set(value) = noImpl open var cursor: String - get() = noImpl - set(value) = noImpl open var direction: String - get() = noImpl - set(value) = noImpl open var display: String - get() = noImpl - set(value) = noImpl open var emptyCells: String - get() = noImpl - set(value) = noImpl open var filter: String - get() = noImpl - set(value) = noImpl open var flex: String - get() = noImpl - set(value) = noImpl open var flexBasis: String - get() = noImpl - set(value) = noImpl open var flexDirection: String - get() = noImpl - set(value) = noImpl open var flexFlow: String - get() = noImpl - set(value) = noImpl open var flexGrow: String - get() = noImpl - set(value) = noImpl open var flexShrink: String - get() = noImpl - set(value) = noImpl open var flexWrap: String - get() = noImpl - set(value) = noImpl open var font: String - get() = noImpl - set(value) = noImpl open var fontFamily: String - get() = noImpl - set(value) = noImpl open var fontFeatureSettings: String - get() = noImpl - set(value) = noImpl open var fontKerning: String - get() = noImpl - set(value) = noImpl open var fontLanguageOverride: String - get() = noImpl - set(value) = noImpl open var fontSize: String - get() = noImpl - set(value) = noImpl open var fontSizeAdjust: String - get() = noImpl - set(value) = noImpl open var fontStretch: String - get() = noImpl - set(value) = noImpl open var fontStyle: String - get() = noImpl - set(value) = noImpl open var fontSynthesis: String - get() = noImpl - set(value) = noImpl open var fontVariant: String - get() = noImpl - set(value) = noImpl open var fontVariantAlternates: String - get() = noImpl - set(value) = noImpl open var fontVariantCaps: String - get() = noImpl - set(value) = noImpl open var fontVariantEastAsian: String - get() = noImpl - set(value) = noImpl open var fontVariantLigatures: String - get() = noImpl - set(value) = noImpl open var fontVariantNumeric: String - get() = noImpl - set(value) = noImpl open var fontVariantPosition: String - get() = noImpl - set(value) = noImpl open var fontWeight: String - get() = noImpl - set(value) = noImpl open var hangingPunctuation: String - get() = noImpl - set(value) = noImpl open var height: String - get() = noImpl - set(value) = noImpl open var hyphens: String - get() = noImpl - set(value) = noImpl open var imageOrientation: String - get() = noImpl - set(value) = noImpl open var imageRendering: String - get() = noImpl - set(value) = noImpl open var imageResolution: String - get() = noImpl - set(value) = noImpl open var imeMode: String - get() = noImpl - set(value) = noImpl open var justifyContent: String - get() = noImpl - set(value) = noImpl open var left: String - get() = noImpl - set(value) = noImpl open var letterSpacing: String - get() = noImpl - set(value) = noImpl open var lineBreak: String - get() = noImpl - set(value) = noImpl open var lineHeight: String - get() = noImpl - set(value) = noImpl open var listStyle: String - get() = noImpl - set(value) = noImpl open var listStyleImage: String - get() = noImpl - set(value) = noImpl open var listStylePosition: String - get() = noImpl - set(value) = noImpl open var listStyleType: String - get() = noImpl - set(value) = noImpl open var margin: String - get() = noImpl - set(value) = noImpl open var marginBottom: String - get() = noImpl - set(value) = noImpl open var marginLeft: String - get() = noImpl - set(value) = noImpl open var marginRight: String - get() = noImpl - set(value) = noImpl open var marginTop: String - get() = noImpl - set(value) = noImpl open var mark: String - get() = noImpl - set(value) = noImpl open var markAfter: String - get() = noImpl - set(value) = noImpl open var markBefore: String - get() = noImpl - set(value) = noImpl open var marks: String - get() = noImpl - set(value) = noImpl open var marqueeDirection: String - get() = noImpl - set(value) = noImpl open var marqueePlayCount: String - get() = noImpl - set(value) = noImpl open var marqueeSpeed: String - get() = noImpl - set(value) = noImpl open var marqueeStyle: String - get() = noImpl - set(value) = noImpl open var mask: String - get() = noImpl - set(value) = noImpl open var maskType: String - get() = noImpl - set(value) = noImpl open var maxHeight: String - get() = noImpl - set(value) = noImpl open var maxWidth: String - get() = noImpl - set(value) = noImpl open var minHeight: String - get() = noImpl - set(value) = noImpl open var minWidth: String - get() = noImpl - set(value) = noImpl open var navDown: String - get() = noImpl - set(value) = noImpl open var navIndex: String - get() = noImpl - set(value) = noImpl open var navLeft: String - get() = noImpl - set(value) = noImpl open var navRight: String - get() = noImpl - set(value) = noImpl open var navUp: String - get() = noImpl - set(value) = noImpl open var objectFit: String - get() = noImpl - set(value) = noImpl open var objectPosition: String - get() = noImpl - set(value) = noImpl open var opacity: String - get() = noImpl - set(value) = noImpl open var order: String - get() = noImpl - set(value) = noImpl open var orphans: String - get() = noImpl - set(value) = noImpl open var outline: String - get() = noImpl - set(value) = noImpl open var outlineColor: String - get() = noImpl - set(value) = noImpl open var outlineOffset: String - get() = noImpl - set(value) = noImpl open var outlineStyle: String - get() = noImpl - set(value) = noImpl open var outlineWidth: String - get() = noImpl - set(value) = noImpl open var overflowWrap: String - get() = noImpl - set(value) = noImpl open var overflowX: String - get() = noImpl - set(value) = noImpl open var overflowY: String - get() = noImpl - set(value) = noImpl open var padding: String - get() = noImpl - set(value) = noImpl open var paddingBottom: String - get() = noImpl - set(value) = noImpl open var paddingLeft: String - get() = noImpl - set(value) = noImpl open var paddingRight: String - get() = noImpl - set(value) = noImpl open var paddingTop: String - get() = noImpl - set(value) = noImpl open var pageBreakAfter: String - get() = noImpl - set(value) = noImpl open var pageBreakBefore: String - get() = noImpl - set(value) = noImpl open var pageBreakInside: String - get() = noImpl - set(value) = noImpl open var perspective: String - get() = noImpl - set(value) = noImpl open var perspectiveOrigin: String - get() = noImpl - set(value) = noImpl open var phonemes: String - get() = noImpl - set(value) = noImpl open var position: String - get() = noImpl - set(value) = noImpl open var quotes: String - get() = noImpl - set(value) = noImpl open var resize: String - get() = noImpl - set(value) = noImpl open var rest: String - get() = noImpl - set(value) = noImpl open var restAfter: String - get() = noImpl - set(value) = noImpl open var restBefore: String - get() = noImpl - set(value) = noImpl open var right: String - get() = noImpl - set(value) = noImpl open var tabSize: String - get() = noImpl - set(value) = noImpl open var tableLayout: String - get() = noImpl - set(value) = noImpl open var textAlign: String - get() = noImpl - set(value) = noImpl open var textAlignLast: String - get() = noImpl - set(value) = noImpl open var textCombineUpright: String - get() = noImpl - set(value) = noImpl open var textDecoration: String - get() = noImpl - set(value) = noImpl open var textDecorationColor: String - get() = noImpl - set(value) = noImpl open var textDecorationLine: String - get() = noImpl - set(value) = noImpl open var textDecorationStyle: String - get() = noImpl - set(value) = noImpl open var textIndent: String - get() = noImpl - set(value) = noImpl open var textJustify: String - get() = noImpl - set(value) = noImpl open var textOrientation: String - get() = noImpl - set(value) = noImpl open var textOverflow: String - get() = noImpl - set(value) = noImpl open var textShadow: String - get() = noImpl - set(value) = noImpl open var textTransform: String - get() = noImpl - set(value) = noImpl open var textUnderlinePosition: String - get() = noImpl - set(value) = noImpl open var top: String - get() = noImpl - set(value) = noImpl open var transform: String - get() = noImpl - set(value) = noImpl open var transformOrigin: String - get() = noImpl - set(value) = noImpl open var transformStyle: String - get() = noImpl - set(value) = noImpl open var transition: String - get() = noImpl - set(value) = noImpl open var transitionDelay: String - get() = noImpl - set(value) = noImpl open var transitionDuration: String - get() = noImpl - set(value) = noImpl open var transitionProperty: String - get() = noImpl - set(value) = noImpl open var transitionTimingFunction: String - get() = noImpl - set(value) = noImpl open var unicodeBidi: String - get() = noImpl - set(value) = noImpl open var verticalAlign: String - get() = noImpl - set(value) = noImpl open var visibility: String - get() = noImpl - set(value) = noImpl open var voiceBalance: String - get() = noImpl - set(value) = noImpl open var voiceDuration: String - get() = noImpl - set(value) = noImpl open var voicePitch: String - get() = noImpl - set(value) = noImpl open var voicePitchRange: String - get() = noImpl - set(value) = noImpl open var voiceRate: String - get() = noImpl - set(value) = noImpl open var voiceStress: String - get() = noImpl - set(value) = noImpl open var voiceVolume: String - get() = noImpl - set(value) = noImpl open var whiteSpace: String - get() = noImpl - set(value) = noImpl open var widows: String - get() = noImpl - set(value) = noImpl open var width: String - get() = noImpl - set(value) = noImpl open var wordBreak: String - get() = noImpl - set(value) = noImpl open var wordSpacing: String - get() = noImpl - set(value) = noImpl open var wordWrap: String - get() = noImpl - set(value) = noImpl open var writingMode: String - get() = noImpl - set(value) = noImpl open var zIndex: String - get() = noImpl - set(value) = noImpl - fun item(index: Int): String = noImpl + fun item(index: Int): String @nativeGetter - operator fun get(index: Int): String? = noImpl - fun getPropertyValue(property: String): String = noImpl - fun getPropertyPriority(property: String): String = noImpl - fun setProperty(property: String, value: String, priority: String = ""): Unit = noImpl - fun setPropertyValue(property: String, value: String): Unit = noImpl - fun setPropertyPriority(property: String, priority: String): Unit = noImpl - fun removeProperty(property: String): String = noImpl + operator fun get(index: Int): String? + fun getPropertyValue(property: String): String + fun getPropertyPriority(property: String): String + fun setProperty(property: String, value: String, priority: String = noImpl): Unit + fun setPropertyValue(property: String, value: String): Unit + fun setPropertyPriority(property: String, priority: String): Unit + fun removeProperty(property: String): String } public external abstract class MediaList { open var mediaText: String - get() = noImpl - set(value) = noImpl open val length: Int - get() = noImpl - fun item(index: Int): String? = noImpl + fun item(index: Int): String? @nativeGetter - operator fun get(index: Int): String? = noImpl - fun appendMedium(medium: String): Unit = noImpl - fun deleteMedium(medium: String): Unit = noImpl + operator fun get(index: Int): String? + fun appendMedium(medium: String): Unit + fun deleteMedium(medium: String): Unit } public external abstract class StyleSheet { open val type: String - get() = noImpl open val href: String? - get() = noImpl open val ownerNode: UnionElementOrProcessingInstruction? - get() = noImpl open val parentStyleSheet: StyleSheet? - get() = noImpl open val title: String? - get() = noImpl open val media: MediaList - get() = noImpl open var disabled: Boolean - get() = noImpl - set(value) = noImpl } public external abstract class CSSStyleSheet : StyleSheet() { open val ownerRule: CSSRule? - get() = noImpl open val cssRules: CSSRuleList - get() = noImpl - fun insertRule(rule: String, index: Int): Int = noImpl - fun deleteRule(index: Int): Unit = noImpl + fun insertRule(rule: String, index: Int): Int + fun deleteRule(index: Int): Unit } public external abstract class StyleSheetList { open val length: Int - get() = noImpl - fun item(index: Int): StyleSheet? = noImpl + fun item(index: Int): StyleSheet? @nativeGetter - operator fun get(index: Int): StyleSheet? = noImpl + operator fun get(index: Int): StyleSheet? } public external interface LinkStyle { val sheet: StyleSheet? - get() = noImpl } public external abstract class CSSRuleList { open val length: Int - get() = noImpl - fun item(index: Int): CSSRule? = noImpl + fun item(index: Int): CSSRule? @nativeGetter - operator fun get(index: Int): CSSRule? = noImpl + operator fun get(index: Int): CSSRule? } public external abstract class CSSRule { open val type: Short - get() = noImpl open var cssText: String - get() = noImpl - set(value) = noImpl open val parentRule: CSSRule? - get() = noImpl open val parentStyleSheet: CSSStyleSheet? - get() = noImpl companion object { - val STYLE_RULE: Short = 1 - val CHARSET_RULE: Short = 2 - val IMPORT_RULE: Short = 3 - val MEDIA_RULE: Short = 4 - val FONT_FACE_RULE: Short = 5 - val PAGE_RULE: Short = 6 - val MARGIN_RULE: Short = 9 - val NAMESPACE_RULE: Short = 10 + val STYLE_RULE: Short + val CHARSET_RULE: Short + val IMPORT_RULE: Short + val MEDIA_RULE: Short + val FONT_FACE_RULE: Short + val PAGE_RULE: Short + val MARGIN_RULE: Short + val NAMESPACE_RULE: Short } } public external abstract class CSSStyleRule : CSSRule() { open var selectorText: String - get() = noImpl - set(value) = noImpl open val style: CSSStyleDeclaration - get() = noImpl } public external abstract class CSSImportRule : CSSRule() { open val href: String - get() = noImpl open val media: MediaList - get() = noImpl open val styleSheet: CSSStyleSheet - get() = noImpl } 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 + fun insertRule(rule: String, index: Int): Int + fun deleteRule(index: Int): Unit } public external abstract class CSSMediaRule : CSSGroupingRule() { open val media: MediaList - get() = noImpl } public external abstract class CSSPageRule : CSSGroupingRule() { open var selectorText: String - get() = noImpl - set(value) = noImpl open val style: CSSStyleDeclaration - get() = noImpl } public external abstract class CSSMarginRule : CSSRule() { open val name: String - get() = noImpl open val style: CSSStyleDeclaration - get() = noImpl } public external abstract class CSSNamespaceRule : CSSRule() { open val namespaceURI: String - get() = noImpl open val prefix: String - get() = noImpl } public external interface ElementCSSInlineStyle { val style: CSSStyleDeclaration - get() = noImpl } public external abstract class CSS { companion object { - fun escape(ident: String): String = noImpl + fun escape(ident: String): String } } diff --git a/js/js.libraries/src/generated/org.w3c.dom.events.kt b/js/js.libraries/src/generated/org.w3c.dom.events.kt index 572e5e494d3..38dcaf2803d 100644 --- a/js/js.libraries/src/generated/org.w3c.dom.events.kt +++ b/js/js.libraries/src/generated/org.w3c.dom.events.kt @@ -22,14 +22,16 @@ import org.w3c.xhr.* 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 } public external interface UIEventInit : EventInit { var view: Window? /* = null */ + get() = noImpl + set(value) = noImpl var detail: Int? /* = 0 */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -47,11 +49,12 @@ public inline fun UIEventInit(view: Window? = null, detail: Int? = 0, bubbles: B public external open class FocusEvent(type: String, eventInitDict: FocusEventInit = noImpl) : UIEvent(type, eventInitDict) { open val relatedTarget: EventTarget? - get() = noImpl } public external interface FocusEventInit : UIEventInit { var relatedTarget: EventTarget? /* = null */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -70,48 +73,46 @@ public inline fun FocusEventInit(relatedTarget: EventTarget? = null, view: Windo public external open class MouseEvent(type: String, eventInitDict: MouseEventInit = noImpl) : UIEvent(type, eventInitDict), UnionElementOrMouseEvent { open val region: String? - get() = noImpl open val screenX: Int - get() = noImpl open val screenY: Int - get() = noImpl open val pageX: Double - get() = noImpl open val pageY: Double - get() = noImpl open val clientX: Int - get() = noImpl open val clientY: Int - get() = noImpl open val offsetX: Double - get() = noImpl open val offsetY: Double - get() = noImpl open val ctrlKey: Boolean - get() = noImpl open val shiftKey: Boolean - get() = noImpl open val altKey: Boolean - get() = noImpl open val metaKey: Boolean - get() = noImpl open val button: Short - get() = noImpl open val buttons: Short - get() = noImpl open val relatedTarget: EventTarget? - get() = noImpl - fun getModifierState(keyArg: String): Boolean = noImpl + fun getModifierState(keyArg: String): Boolean } public external interface MouseEventInit : EventModifierInit { var screenX: Int? /* = 0 */ + get() = noImpl + set(value) = noImpl var screenY: Int? /* = 0 */ + get() = noImpl + set(value) = noImpl var clientX: Int? /* = 0 */ + get() = noImpl + set(value) = noImpl var clientY: Int? /* = 0 */ + get() = noImpl + set(value) = noImpl var button: Short? /* = 0 */ + get() = noImpl + set(value) = noImpl var buttons: Short? /* = 0 */ + get() = noImpl + set(value) = noImpl var relatedTarget: EventTarget? /* = null */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -150,19 +151,47 @@ public inline fun MouseEventInit(screenX: Int? = 0, screenY: Int? = 0, clientX: public external interface EventModifierInit : UIEventInit { var ctrlKey: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var shiftKey: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var altKey: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var metaKey: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var modifierAltGraph: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var modifierCapsLock: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var modifierFn: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var modifierFnLock: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var modifierHyper: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var modifierNumLock: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var modifierScrollLock: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var modifierSuper: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var modifierSymbol: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var modifierSymbolLock: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -194,26 +223,30 @@ public inline fun EventModifierInit(ctrlKey: Boolean? = false, shiftKey: Boolean public external open class WheelEvent(type: String, eventInitDict: WheelEventInit = noImpl) : MouseEvent(type, eventInitDict) { open val deltaX: Double - get() = noImpl open val deltaY: Double - get() = noImpl open val deltaZ: Double - get() = noImpl open val deltaMode: Int - get() = noImpl companion object { - val DOM_DELTA_PIXEL: Int = 0x00 - val DOM_DELTA_LINE: Int = 0x01 - val DOM_DELTA_PAGE: Int = 0x02 + val DOM_DELTA_PIXEL: Int + val DOM_DELTA_LINE: Int + val DOM_DELTA_PAGE: Int } } public external interface WheelEventInit : MouseEventInit { var deltaX: Double? /* = 0.0 */ + get() = noImpl + set(value) = noImpl var deltaY: Double? /* = 0.0 */ + get() = noImpl + set(value) = noImpl var deltaZ: Double? /* = 0.0 */ + get() = noImpl + set(value) = noImpl var deltaMode: Int? /* = 0 */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -256,14 +289,16 @@ public inline fun WheelEventInit(deltaX: Double? = 0.0, deltaY: Double? = 0.0, d 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 } public external interface InputEventInit : UIEventInit { var data: String? /* = "" */ + get() = noImpl + set(value) = noImpl var isComposing: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -283,45 +318,43 @@ public inline fun InputEventInit(data: String? = "", isComposing: Boolean? = fal public external open class KeyboardEvent(type: String, eventInitDict: KeyboardEventInit = noImpl) : UIEvent(type, eventInitDict) { open val key: String - get() = noImpl open val code: String - get() = noImpl open val location: Int - get() = noImpl open val ctrlKey: Boolean - get() = noImpl open val shiftKey: Boolean - get() = noImpl open val altKey: Boolean - get() = noImpl open val metaKey: Boolean - get() = noImpl open val repeat: Boolean - get() = noImpl open val isComposing: Boolean - get() = noImpl open val charCode: Int - get() = noImpl open val keyCode: Int - get() = noImpl open val which: Int - get() = noImpl - fun getModifierState(keyArg: String): Boolean = noImpl + fun getModifierState(keyArg: String): Boolean companion object { - val DOM_KEY_LOCATION_STANDARD: Int = 0x00 - val DOM_KEY_LOCATION_LEFT: Int = 0x01 - val DOM_KEY_LOCATION_RIGHT: Int = 0x02 - val DOM_KEY_LOCATION_NUMPAD: Int = 0x03 + val DOM_KEY_LOCATION_STANDARD: Int + val DOM_KEY_LOCATION_LEFT: Int + val DOM_KEY_LOCATION_RIGHT: Int + val DOM_KEY_LOCATION_NUMPAD: Int } } public external interface KeyboardEventInit : EventModifierInit { var key: String? /* = "" */ + get() = noImpl + set(value) = noImpl var code: String? /* = "" */ + get() = noImpl + set(value) = noImpl var location: Int? /* = 0 */ + get() = noImpl + set(value) = noImpl var repeat: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var isComposing: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -358,11 +391,12 @@ public inline fun KeyboardEventInit(key: String? = "", code: String? = "", locat public external open class CompositionEvent(type: String, eventInitDict: CompositionEventInit = noImpl) : UIEvent(type, eventInitDict) { open val data: String - get() = noImpl } public external interface CompositionEventInit : UIEventInit { var data: String? /* = "" */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -381,48 +415,38 @@ public inline fun CompositionEventInit(data: String? = "", view: Window? = null, public external open class Event(type: String, eventInitDict: EventInit = noImpl) { open val type: String - get() = noImpl open val target: EventTarget? - get() = noImpl open val currentTarget: EventTarget? - get() = noImpl open val eventPhase: Short - get() = noImpl open val bubbles: Boolean - get() = noImpl open val cancelable: Boolean - get() = noImpl open val defaultPrevented: Boolean - get() = noImpl open val composed: Boolean - get() = noImpl open val isTrusted: Boolean - get() = noImpl open val timeStamp: Number - get() = noImpl - fun composedPath(): Array = noImpl - fun stopPropagation(): Unit = noImpl - fun stopImmediatePropagation(): Unit = noImpl - fun preventDefault(): Unit = noImpl - fun initEvent(type: String, bubbles: Boolean, cancelable: Boolean): Unit = noImpl + fun composedPath(): Array + fun stopPropagation(): Unit + fun stopImmediatePropagation(): Unit + fun preventDefault(): Unit + fun initEvent(type: String, bubbles: Boolean, cancelable: Boolean): Unit companion object { - val NONE: Short = 0 - val CAPTURING_PHASE: Short = 1 - val AT_TARGET: Short = 2 - val BUBBLING_PHASE: Short = 3 + val NONE: Short + val CAPTURING_PHASE: Short + val AT_TARGET: Short + val BUBBLING_PHASE: Short } } 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 - fun removeEventListener(type: String, callback: ((Event) -> Unit)?, options: dynamic = noImpl): Unit = noImpl - fun dispatchEvent(event: Event): Boolean = noImpl + fun addEventListener(type: String, callback: EventListener?, options: dynamic = noImpl): Unit + fun addEventListener(type: String, callback: ((Event) -> Unit)?, options: dynamic = noImpl): Unit + fun removeEventListener(type: String, callback: EventListener?, options: dynamic = noImpl): Unit + fun removeEventListener(type: String, callback: ((Event) -> Unit)?, options: dynamic = noImpl): Unit + fun dispatchEvent(event: Event): Boolean } public external interface EventListener { - fun handleEvent(event: Event): Unit = noImpl + fun handleEvent(event: Event): Unit } diff --git a/js/js.libraries/src/generated/org.w3c.dom.kt b/js/js.libraries/src/generated/org.w3c.dom.kt index 777380c95e0..4bb8d4edc2e 100644 --- a/js/js.libraries/src/generated/org.w3c.dom.kt +++ b/js/js.libraries/src/generated/org.w3c.dom.kt @@ -22,354 +22,295 @@ import org.w3c.xhr.* public external open class Document : Node(), GlobalEventHandlers, DocumentAndElementEventHandlers, NonElementParentNode, DocumentOrShadowRoot, ParentNode, GeometryUtils { open val fullscreenEnabled: Boolean - get() = noImpl open val fullscreen: Boolean - get() = noImpl var onfullscreenchange: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onfullscreenerror: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open val rootElement: SVGSVGElement? - get() = noImpl var title: String - get() = noImpl - set(value) = noImpl open val referrer: String - get() = noImpl var domain: String - get() = noImpl - set(value) = noImpl open val activeElement: Element? - get() = noImpl open val location: Location? - get() = noImpl var cookie: String - get() = noImpl - set(value) = noImpl open val lastModified: String - get() = noImpl open val readyState: String - get() = noImpl var dir: String - get() = noImpl - set(value) = noImpl var body: HTMLElement? - get() = noImpl - set(value) = noImpl open val head: HTMLHeadElement? - get() = noImpl open val images: HTMLCollection - get() = noImpl open val embeds: HTMLCollection - get() = noImpl open val plugins: HTMLCollection - get() = noImpl open val links: HTMLCollection - get() = noImpl open val forms: HTMLCollection - get() = noImpl open val scripts: HTMLCollection - get() = noImpl open val currentScript: HTMLOrSVGScriptElement? - get() = noImpl open val defaultView: Window? - get() = noImpl var designMode: String - get() = noImpl - set(value) = noImpl var onreadystatechange: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var fgColor: String - get() = noImpl - set(value) = noImpl var linkColor: String - get() = noImpl - set(value) = noImpl var vlinkColor: String - get() = noImpl - set(value) = noImpl var alinkColor: String - get() = noImpl - set(value) = noImpl var bgColor: String - get() = noImpl - set(value) = noImpl open val anchors: HTMLCollection - get() = noImpl open val applets: HTMLCollection - get() = noImpl open val all: HTMLAllCollection - get() = noImpl open val implementation: DOMImplementation - get() = noImpl open val URL: String - get() = noImpl open val documentURI: String - get() = noImpl open val origin: String - get() = noImpl open val compatMode: String - get() = noImpl open val characterSet: String - get() = noImpl open val charset: String - get() = noImpl open val inputEncoding: String - get() = noImpl open val contentType: String - get() = noImpl open val doctype: DocumentType? - get() = noImpl open val documentElement: Element? - get() = noImpl open val scrollingElement: Element? - get() = noImpl open val styleSheets: StyleSheetList - get() = noImpl - fun exitFullscreen(): dynamic = noImpl + override var onabort: ((Event) -> dynamic)? + override var onblur: ((Event) -> dynamic)? + override var oncancel: ((Event) -> dynamic)? + override var oncanplay: ((Event) -> dynamic)? + override var oncanplaythrough: ((Event) -> dynamic)? + override var onchange: ((Event) -> dynamic)? + override var onclick: ((Event) -> dynamic)? + override var onclose: ((Event) -> dynamic)? + override var oncontextmenu: ((Event) -> dynamic)? + override var oncuechange: ((Event) -> dynamic)? + override var ondblclick: ((Event) -> dynamic)? + override var ondrag: ((Event) -> dynamic)? + override var ondragend: ((Event) -> dynamic)? + override var ondragenter: ((Event) -> dynamic)? + override var ondragexit: ((Event) -> dynamic)? + override var ondragleave: ((Event) -> dynamic)? + override var ondragover: ((Event) -> dynamic)? + override var ondragstart: ((Event) -> dynamic)? + override var ondrop: ((Event) -> dynamic)? + override var ondurationchange: ((Event) -> dynamic)? + override var onemptied: ((Event) -> dynamic)? + override var onended: ((Event) -> dynamic)? + override var onerror: ((dynamic, String, Int, Int, Any?) -> dynamic)? + override var onfocus: ((Event) -> dynamic)? + override var oninput: ((Event) -> dynamic)? + override var oninvalid: ((Event) -> dynamic)? + override var onkeydown: ((Event) -> dynamic)? + override var onkeypress: ((Event) -> dynamic)? + override var onkeyup: ((Event) -> dynamic)? + override var onload: ((Event) -> dynamic)? + override var onloadeddata: ((Event) -> dynamic)? + override var onloadedmetadata: ((Event) -> dynamic)? + override var onloadend: ((Event) -> dynamic)? + override var onloadstart: ((Event) -> dynamic)? + override var onmousedown: ((Event) -> dynamic)? + override var onmouseenter: ((Event) -> dynamic)? + override var onmouseleave: ((Event) -> dynamic)? + override var onmousemove: ((Event) -> dynamic)? + override var onmouseout: ((Event) -> dynamic)? + override var onmouseover: ((Event) -> dynamic)? + override var onmouseup: ((Event) -> dynamic)? + override var onwheel: ((Event) -> dynamic)? + override var onpause: ((Event) -> dynamic)? + override var onplay: ((Event) -> dynamic)? + override var onplaying: ((Event) -> dynamic)? + override var onprogress: ((Event) -> dynamic)? + override var onratechange: ((Event) -> dynamic)? + override var onreset: ((Event) -> dynamic)? + override var onresize: ((Event) -> dynamic)? + override var onscroll: ((Event) -> dynamic)? + override var onseeked: ((Event) -> dynamic)? + override var onseeking: ((Event) -> dynamic)? + override var onselect: ((Event) -> dynamic)? + override var onshow: ((Event) -> dynamic)? + override var onstalled: ((Event) -> dynamic)? + override var onsubmit: ((Event) -> dynamic)? + override var onsuspend: ((Event) -> dynamic)? + override var ontimeupdate: ((Event) -> dynamic)? + override var ontoggle: ((Event) -> dynamic)? + override var onvolumechange: ((Event) -> dynamic)? + override var onwaiting: ((Event) -> dynamic)? + override var oncopy: ((Event) -> dynamic)? + override var oncut: ((Event) -> dynamic)? + override var onpaste: ((Event) -> dynamic)? + override val fullscreenElement: Element? + override val children: HTMLCollection + override val firstElementChild: Element? + override val lastElementChild: Element? + override val childElementCount: Int + fun exitFullscreen(): dynamic @nativeGetter - operator fun get(name: String): dynamic = noImpl - fun getElementsByName(elementName: String): NodeList = noImpl - fun open(type: String = "text/html", replace: String = ""): Document = noImpl - fun open(url: String, name: String, features: String): Window = noImpl - fun close(): Unit = noImpl - fun write(vararg text: String): Unit = noImpl - fun writeln(vararg text: String): Unit = noImpl - fun hasFocus(): Boolean = noImpl - fun execCommand(commandId: String, showUI: Boolean = false, value: String = ""): Boolean = noImpl - fun queryCommandEnabled(commandId: String): Boolean = noImpl - fun queryCommandIndeterm(commandId: String): Boolean = noImpl - fun queryCommandState(commandId: String): Boolean = noImpl - fun queryCommandSupported(commandId: String): Boolean = noImpl - fun queryCommandValue(commandId: String): String = noImpl - fun clear(): Unit = noImpl - fun captureEvents(): Unit = noImpl - fun releaseEvents(): Unit = noImpl - fun getElementsByTagName(qualifiedName: String): HTMLCollection = noImpl - fun getElementsByTagNameNS(namespace: String?, localName: String): HTMLCollection = noImpl - fun getElementsByClassName(classNames: String): HTMLCollection = noImpl - fun createElement(localName: String, options: ElementCreationOptions = noImpl): Element = noImpl - fun createElementNS(namespace: String?, qualifiedName: String, options: ElementCreationOptions = noImpl): Element = noImpl - fun createDocumentFragment(): DocumentFragment = noImpl - fun createTextNode(data: String): Text = noImpl - fun createCDATASection(data: String): CDATASection = noImpl - fun createComment(data: String): Comment = noImpl - fun createProcessingInstruction(target: String, data: String): ProcessingInstruction = noImpl - fun importNode(node: Node, deep: Boolean = false): Node = noImpl - fun adoptNode(node: Node): Node = noImpl - fun createAttribute(localName: String): Attr = noImpl - fun createAttributeNS(namespace: String?, qualifiedName: String): Attr = noImpl - fun createEvent(interface_: String): Event = noImpl - fun createRange(): Range = noImpl - fun createNodeIterator(root: Node, whatToShow: Int = noImpl, filter: NodeFilter? = null): NodeIterator = noImpl - fun createNodeIterator(root: Node, whatToShow: Int = noImpl, filter: ((Node) -> Short)? = null): NodeIterator = noImpl - fun createTreeWalker(root: Node, whatToShow: Int = noImpl, filter: NodeFilter? = null): TreeWalker = noImpl - fun createTreeWalker(root: Node, whatToShow: Int = noImpl, filter: ((Node) -> Short)? = null): TreeWalker = noImpl - fun elementFromPoint(x: Double, y: Double): Element? = noImpl - fun elementsFromPoint(x: Double, y: Double): Array = noImpl - fun caretPositionFromPoint(x: Double, y: Double): CaretPosition? = noImpl + operator fun get(name: String): dynamic + fun getElementsByName(elementName: String): NodeList + fun open(type: String = noImpl, replace: String = noImpl): Document + fun open(url: String, name: String, features: String): Window + fun close(): Unit + fun write(vararg text: String): Unit + fun writeln(vararg text: String): Unit + fun hasFocus(): Boolean + fun execCommand(commandId: String, showUI: Boolean = noImpl, value: String = noImpl): Boolean + fun queryCommandEnabled(commandId: String): Boolean + fun queryCommandIndeterm(commandId: String): Boolean + fun queryCommandState(commandId: String): Boolean + fun queryCommandSupported(commandId: String): Boolean + fun queryCommandValue(commandId: String): String + fun clear(): Unit + fun captureEvents(): Unit + fun releaseEvents(): Unit + fun getElementsByTagName(qualifiedName: String): HTMLCollection + fun getElementsByTagNameNS(namespace: String?, localName: String): HTMLCollection + fun getElementsByClassName(classNames: String): HTMLCollection + fun createElement(localName: String, options: ElementCreationOptions = noImpl): Element + fun createElementNS(namespace: String?, qualifiedName: String, options: ElementCreationOptions = noImpl): Element + fun createDocumentFragment(): DocumentFragment + fun createTextNode(data: String): Text + fun createCDATASection(data: String): CDATASection + fun createComment(data: String): Comment + fun createProcessingInstruction(target: String, data: String): ProcessingInstruction + fun importNode(node: Node, deep: Boolean = noImpl): Node + fun adoptNode(node: Node): Node + fun createAttribute(localName: String): Attr + fun createAttributeNS(namespace: String?, qualifiedName: String): Attr + fun createEvent(interface_: String): Event + fun createRange(): Range + fun createNodeIterator(root: Node, whatToShow: Int = noImpl, filter: NodeFilter? = noImpl): NodeIterator + fun createNodeIterator(root: Node, whatToShow: Int = noImpl, filter: ((Node) -> Short)? = noImpl): NodeIterator + fun createTreeWalker(root: Node, whatToShow: Int = noImpl, filter: NodeFilter? = noImpl): TreeWalker + fun createTreeWalker(root: Node, whatToShow: Int = noImpl, filter: ((Node) -> Short)? = noImpl): TreeWalker + fun elementFromPoint(x: Double, y: Double): Element? + fun elementsFromPoint(x: Double, y: Double): Array + fun caretPositionFromPoint(x: Double, y: Double): CaretPosition? + override fun getElementById(elementId: String): Element? + override fun prepend(vararg nodes: dynamic): Unit + override fun append(vararg nodes: dynamic): Unit + override fun querySelector(selectors: String): Element? + override fun querySelectorAll(selectors: String): NodeList + override fun getBoxQuads(options: BoxQuadOptions /* = noImpl */): Array + override fun convertQuadFromNode(quad: dynamic, from: dynamic, options: ConvertCoordinateOptions /* = noImpl */): DOMQuad + override fun convertRectFromNode(rect: DOMRectReadOnly, from: dynamic, options: ConvertCoordinateOptions /* = noImpl */): DOMQuad + override fun convertPointFromNode(point: DOMPointInit, from: dynamic, options: ConvertCoordinateOptions /* = noImpl */): DOMPoint } public external abstract class Window : EventTarget(), GlobalEventHandlers, WindowEventHandlers, WindowOrWorkerGlobalScope, WindowSessionStorage, WindowLocalStorage, GlobalPerformance, UnionMessagePortOrWindow { open val window: Window - get() = noImpl open val self: Window - get() = noImpl open val document: Document - get() = noImpl open var name: String - get() = noImpl - set(value) = noImpl open val location: Location - get() = noImpl open val history: History - get() = noImpl open val customElements: CustomElementRegistry - get() = noImpl open val locationbar: BarProp - get() = noImpl open val menubar: BarProp - get() = noImpl open val personalbar: BarProp - get() = noImpl open val scrollbars: BarProp - get() = noImpl open val statusbar: BarProp - get() = noImpl open val toolbar: BarProp - get() = noImpl open var status: String - get() = noImpl - set(value) = noImpl open val closed: Boolean - get() = noImpl open val frames: Window - get() = noImpl open val length: Int - get() = noImpl open val top: Window - get() = noImpl open var opener: Any? - get() = noImpl - set(value) = noImpl open val parent: Window - get() = noImpl open val frameElement: Element? - get() = noImpl open val navigator: Navigator - get() = noImpl open val applicationCache: ApplicationCache - get() = noImpl open val external: External - get() = noImpl open val screen: Screen - get() = noImpl open val innerWidth: Int - get() = noImpl open val innerHeight: Int - get() = noImpl open val scrollX: Double - get() = noImpl open val pageXOffset: Double - get() = noImpl open val scrollY: Double - get() = noImpl open val pageYOffset: Double - get() = noImpl open val screenX: Int - get() = noImpl open val screenY: Int - get() = noImpl open val outerWidth: Int - get() = noImpl open val outerHeight: Int - get() = noImpl open val devicePixelRatio: Double - get() = noImpl - fun close(): Unit = noImpl - fun stop(): Unit = noImpl - fun focus(): Unit = noImpl - fun blur(): Unit = noImpl - fun open(url: String = "about:blank", target: String = "_blank", features: String = ""): Window? = noImpl + fun close(): Unit + fun stop(): Unit + fun focus(): Unit + fun blur(): Unit + fun open(url: String = noImpl, target: String = noImpl, features: String = noImpl): Window? @nativeGetter - operator fun get(name: String): dynamic = noImpl - fun alert(): Unit = noImpl - fun alert(message: String): Unit = noImpl - fun confirm(message: String = ""): Boolean = noImpl - fun prompt(message: String = "", default: String = ""): String? = noImpl - fun print(): Unit = noImpl - fun requestAnimationFrame(callback: (Double) -> Unit): Int = noImpl - fun cancelAnimationFrame(handle: Int): Unit = noImpl - fun postMessage(message: Any?, targetOrigin: String, transfer: Array = arrayOf()): Unit = noImpl - fun captureEvents(): Unit = noImpl - fun releaseEvents(): Unit = noImpl - fun matchMedia(query: String): MediaQueryList = noImpl - fun moveTo(x: Int, y: Int): Unit = noImpl - fun moveBy(x: Int, y: Int): Unit = noImpl - fun resizeTo(x: Int, y: Int): Unit = noImpl - fun resizeBy(x: Int, y: Int): Unit = noImpl - fun scroll(options: ScrollToOptions = noImpl): Unit = noImpl - fun scroll(x: Double, y: Double): Unit = noImpl - fun scrollTo(options: ScrollToOptions = noImpl): Unit = noImpl - fun scrollTo(x: Double, y: Double): Unit = noImpl - fun scrollBy(options: ScrollToOptions = noImpl): Unit = noImpl - fun scrollBy(x: Double, y: Double): Unit = noImpl - fun getComputedStyle(elt: Element, pseudoElt: String? = noImpl): CSSStyleDeclaration = noImpl + operator fun get(name: String): dynamic + fun alert(): Unit + fun alert(message: String): Unit + fun confirm(message: String = noImpl): Boolean + fun prompt(message: String = noImpl, default: String = noImpl): String? + fun print(): Unit + fun requestAnimationFrame(callback: (Double) -> Unit): Int + fun cancelAnimationFrame(handle: Int): Unit + fun postMessage(message: Any?, targetOrigin: String, transfer: Array = noImpl): Unit + fun captureEvents(): Unit + fun releaseEvents(): Unit + fun matchMedia(query: String): MediaQueryList + fun moveTo(x: Int, y: Int): Unit + fun moveBy(x: Int, y: Int): Unit + fun resizeTo(x: Int, y: Int): Unit + fun resizeBy(x: Int, y: Int): Unit + fun scroll(options: ScrollToOptions = noImpl): Unit + fun scroll(x: Double, y: Double): Unit + fun scrollTo(options: ScrollToOptions = noImpl): Unit + fun scrollTo(x: Double, y: Double): Unit + fun scrollBy(options: ScrollToOptions = noImpl): Unit + fun scrollBy(x: Double, y: Double): Unit + fun getComputedStyle(elt: Element, pseudoElt: String? = noImpl): CSSStyleDeclaration } public external abstract class HTMLAllCollection { open val length: Int - get() = noImpl // @nativeGetter -// operator fun get(index: Int): Element? = noImpl -// fun namedItem(name: String): UnionElementOrHTMLCollection? = noImpl +// operator fun get(index: Int): Element? +// fun namedItem(name: String): UnionElementOrHTMLCollection? // @nativeGetter -// operator fun get(name: String): UnionElementOrHTMLCollection? = noImpl - fun item(nameOrIndex: String = noImpl): UnionElementOrHTMLCollection? = noImpl +// operator fun get(name: String): UnionElementOrHTMLCollection? + fun item(nameOrIndex: String = noImpl): UnionElementOrHTMLCollection? } public external abstract class HTMLFormControlsCollection : HTMLCollection() { -// override fun namedItem(name: String): UnionElementOrRadioNodeList? = noImpl +// override fun namedItem(name: String): UnionElementOrRadioNodeList? // @nativeGetter -// operator override fun get(name: String): UnionElementOrRadioNodeList? = noImpl +// operator override fun get(name: String): UnionElementOrRadioNodeList? } public external abstract class RadioNodeList : NodeList(), UnionElementOrRadioNodeList { open var value: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLOptionsCollection : HTMLCollection() { override var length: Int - get() = noImpl - set(value) = noImpl open var selectedIndex: Int - get() = noImpl - set(value) = noImpl @nativeSetter - operator fun set(index: Int, option: HTMLOptionElement?): Unit = noImpl - fun add(element: UnionHTMLOptGroupElementOrHTMLOptionElement, before: dynamic = null): Unit = noImpl - fun remove(index: Int): Unit = noImpl + operator fun set(index: Int, option: HTMLOptionElement?): Unit + fun add(element: UnionHTMLOptGroupElementOrHTMLOptionElement, before: dynamic = noImpl): Unit + fun remove(index: Int): Unit } public external abstract class HTMLElement : Element(), ElementCSSInlineStyle, GlobalEventHandlers, DocumentAndElementEventHandlers, ElementContentEditable { open var title: String - get() = noImpl - set(value) = noImpl open var lang: String - get() = noImpl - set(value) = noImpl open var translate: Boolean - get() = noImpl - set(value) = noImpl open var dir: String - get() = noImpl - set(value) = noImpl open val dataset: DOMStringMap - get() = noImpl open var hidden: Boolean - get() = noImpl - set(value) = noImpl open var tabIndex: Int - get() = noImpl - set(value) = noImpl open var accessKey: String - get() = noImpl - set(value) = noImpl open val accessKeyLabel: String - get() = noImpl open var draggable: Boolean - get() = noImpl - set(value) = noImpl open val dropzone: DOMTokenList - get() = noImpl open var contextMenu: HTMLMenuElement? - get() = noImpl - set(value) = noImpl open var spellcheck: Boolean - get() = noImpl - set(value) = noImpl open var innerText: String - get() = noImpl - set(value) = noImpl open val offsetParent: Element? - get() = noImpl open val offsetTop: Int - get() = noImpl open val offsetLeft: Int - get() = noImpl open val offsetWidth: Int - get() = noImpl open val offsetHeight: Int - get() = noImpl - fun click(): Unit = noImpl - fun focus(): Unit = noImpl - fun blur(): Unit = noImpl - fun forceSpellCheck(): Unit = noImpl + fun click(): Unit + fun focus(): Unit + fun blur(): Unit + fun forceSpellCheck(): Unit } public external abstract class HTMLUnknownElement : HTMLElement() { @@ -377,15 +318,13 @@ public external abstract class HTMLUnknownElement : HTMLElement() { public external abstract class DOMStringMap { @nativeGetter - operator fun get(name: String): String? = noImpl + operator fun get(name: String): String? @nativeSetter - operator fun set(name: String, value: String): Unit = noImpl + operator fun set(name: String, value: String): Unit } public external abstract class HTMLHtmlElement : HTMLElement() { open var version: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLHeadElement : HTMLElement() { @@ -393,257 +332,126 @@ public external abstract class HTMLHeadElement : HTMLElement() { public external abstract class HTMLTitleElement : HTMLElement() { open var text: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLBaseElement : HTMLElement() { open var href: String - get() = noImpl - set(value) = noImpl open var target: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLLinkElement : HTMLElement(), LinkStyle { open var scope: String - get() = noImpl - set(value) = noImpl open var workerType: String - get() = noImpl - set(value) = noImpl open var href: String - get() = noImpl - set(value) = noImpl open var crossOrigin: String? - get() = noImpl - set(value) = noImpl open var rel: String - get() = noImpl - set(value) = noImpl @JsName("as") open var as_: String - get() = noImpl - set(value) = noImpl open val relList: DOMTokenList - get() = noImpl open var media: String - get() = noImpl - set(value) = noImpl open var nonce: String - get() = noImpl - set(value) = noImpl open var hreflang: String - get() = noImpl - set(value) = noImpl open var type: String - get() = noImpl - set(value) = noImpl open val sizes: DOMTokenList - get() = noImpl open var referrerPolicy: String - get() = noImpl - set(value) = noImpl open var charset: String - get() = noImpl - set(value) = noImpl open var rev: String - get() = noImpl - set(value) = noImpl open var target: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLMetaElement : HTMLElement() { open var name: String - get() = noImpl - set(value) = noImpl open var httpEquiv: String - get() = noImpl - set(value) = noImpl open var content: String - get() = noImpl - set(value) = noImpl open var scheme: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLStyleElement : HTMLElement(), LinkStyle { open var media: String - get() = noImpl - set(value) = noImpl open var nonce: String - get() = noImpl - set(value) = noImpl open var type: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLBodyElement : HTMLElement(), WindowEventHandlers { open var text: String - get() = noImpl - set(value) = noImpl open var link: String - get() = noImpl - set(value) = noImpl open var vLink: String - get() = noImpl - set(value) = noImpl open var aLink: String - get() = noImpl - set(value) = noImpl open var bgColor: String - get() = noImpl - set(value) = noImpl open var background: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLHeadingElement : HTMLElement() { open var align: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLParagraphElement : HTMLElement() { open var align: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLHRElement : HTMLElement() { open var align: String - get() = noImpl - set(value) = noImpl open var color: String - get() = noImpl - set(value) = noImpl open var noShade: Boolean - get() = noImpl - set(value) = noImpl open var size: String - get() = noImpl - set(value) = noImpl open var width: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLPreElement : HTMLElement() { open var width: Int - get() = noImpl - set(value) = noImpl } public external abstract class HTMLQuoteElement : HTMLElement() { open var cite: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLOListElement : HTMLElement() { open var reversed: Boolean - get() = noImpl - set(value) = noImpl open var start: Int - get() = noImpl - set(value) = noImpl open var type: String - get() = noImpl - set(value) = noImpl open var compact: Boolean - get() = noImpl - set(value) = noImpl } public external abstract class HTMLUListElement : HTMLElement() { open var compact: Boolean - get() = noImpl - set(value) = noImpl open var type: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLLIElement : HTMLElement() { open var value: Int - get() = noImpl - set(value) = noImpl open var type: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLDListElement : HTMLElement() { open var compact: Boolean - get() = noImpl - set(value) = noImpl } public external abstract class HTMLDivElement : HTMLElement() { open var align: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLAnchorElement : HTMLElement(), HTMLHyperlinkElementUtils { open var target: String - get() = noImpl - set(value) = noImpl open var download: String - get() = noImpl - set(value) = noImpl open var ping: String - get() = noImpl - set(value) = noImpl open var rel: String - get() = noImpl - set(value) = noImpl open val relList: DOMTokenList - get() = noImpl open var hreflang: String - get() = noImpl - set(value) = noImpl open var type: String - get() = noImpl - set(value) = noImpl open var text: String - get() = noImpl - set(value) = noImpl open var referrerPolicy: String - get() = noImpl - set(value) = noImpl open var coords: String - get() = noImpl - set(value) = noImpl open var charset: String - get() = noImpl - set(value) = noImpl open var name: String - get() = noImpl - set(value) = noImpl open var rev: String - get() = noImpl - set(value) = noImpl open var shape: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLDataElement : HTMLElement() { open var value: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLTimeElement : HTMLElement() { open var dateTime: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLSpanElement : HTMLElement() { @@ -651,52 +459,25 @@ public external abstract class HTMLSpanElement : HTMLElement() { public external abstract class HTMLBRElement : HTMLElement() { open var clear: String - get() = noImpl - set(value) = noImpl } public external interface HTMLHyperlinkElementUtils { var href: String - get() = noImpl - set(value) = noImpl val origin: String - get() = noImpl var protocol: String - get() = noImpl - set(value) = noImpl var username: String - get() = noImpl - set(value) = noImpl var password: String - get() = noImpl - set(value) = noImpl var host: String - get() = noImpl - set(value) = noImpl var hostname: String - get() = noImpl - set(value) = noImpl var port: String - get() = noImpl - set(value) = noImpl var pathname: String - get() = noImpl - set(value) = noImpl var search: String - get() = noImpl - set(value) = noImpl var hash: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLModElement : HTMLElement() { open var cite: String - get() = noImpl - set(value) = noImpl open var dateTime: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLPictureElement : HTMLElement() { @@ -704,264 +485,113 @@ public external abstract class HTMLPictureElement : HTMLElement() { public external abstract class HTMLSourceElement : HTMLElement() { open var src: String - get() = noImpl - set(value) = noImpl open var type: String - get() = noImpl - set(value) = noImpl open var srcset: String - get() = noImpl - set(value) = noImpl open var sizes: String - get() = noImpl - set(value) = noImpl open var media: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLImageElement : HTMLElement(), TexImageSource, HTMLOrSVGImageElement { open var alt: String - get() = noImpl - set(value) = noImpl open var src: String - get() = noImpl - set(value) = noImpl open var srcset: String - get() = noImpl - set(value) = noImpl open var sizes: String - get() = noImpl - set(value) = noImpl open var crossOrigin: String? - get() = noImpl - set(value) = noImpl open var useMap: String - get() = noImpl - set(value) = noImpl open var isMap: Boolean - get() = noImpl - set(value) = noImpl open var width: Int - get() = noImpl - set(value) = noImpl open var height: Int - get() = noImpl - set(value) = noImpl open val naturalWidth: Int - get() = noImpl open val naturalHeight: Int - get() = noImpl open val complete: Boolean - get() = noImpl open val currentSrc: String - get() = noImpl open var referrerPolicy: String - get() = noImpl - set(value) = noImpl open var name: String - get() = noImpl - set(value) = noImpl open var lowsrc: String - get() = noImpl - set(value) = noImpl open var align: String - get() = noImpl - set(value) = noImpl open var hspace: Int - get() = noImpl - set(value) = noImpl open var vspace: Int - get() = noImpl - set(value) = noImpl open var longDesc: String - get() = noImpl - set(value) = noImpl open var border: String - get() = noImpl - set(value) = noImpl open val x: Int - get() = noImpl open val y: Int - get() = noImpl } public external abstract class HTMLIFrameElement : HTMLElement() { open var src: String - get() = noImpl - set(value) = noImpl open var srcdoc: String - get() = noImpl - set(value) = noImpl open var name: String - get() = noImpl - set(value) = noImpl open val sandbox: DOMTokenList - get() = noImpl open var allowFullscreen: Boolean - get() = noImpl - set(value) = noImpl open var allowUserMedia: Boolean - get() = noImpl - set(value) = noImpl open var width: String - get() = noImpl - set(value) = noImpl open var height: String - get() = noImpl - set(value) = noImpl open var referrerPolicy: String - get() = noImpl - set(value) = noImpl open val contentDocument: Document? - get() = noImpl open val contentWindow: Window? - get() = noImpl open var align: String - get() = noImpl - set(value) = noImpl open var scrolling: String - get() = noImpl - set(value) = noImpl open var frameBorder: String - get() = noImpl - set(value) = noImpl open var longDesc: String - get() = noImpl - set(value) = noImpl open var marginHeight: String - get() = noImpl - set(value) = noImpl open var marginWidth: String - get() = noImpl - set(value) = noImpl - fun getSVGDocument(): Document? = noImpl + fun getSVGDocument(): Document? } public external abstract class HTMLEmbedElement : HTMLElement() { open var src: String - get() = noImpl - set(value) = noImpl open var type: String - get() = noImpl - set(value) = noImpl open var width: String - get() = noImpl - set(value) = noImpl open var height: String - get() = noImpl - set(value) = noImpl open var align: String - get() = noImpl - set(value) = noImpl open var name: String - get() = noImpl - set(value) = noImpl - fun getSVGDocument(): Document? = noImpl + fun getSVGDocument(): Document? } public external abstract class HTMLObjectElement : HTMLElement() { open var data: String - get() = noImpl - set(value) = noImpl open var type: String - get() = noImpl - set(value) = noImpl open var typeMustMatch: Boolean - get() = noImpl - set(value) = noImpl open var name: String - get() = noImpl - set(value) = noImpl open var useMap: String - get() = noImpl - set(value) = noImpl open val form: HTMLFormElement? - get() = noImpl open var width: String - get() = noImpl - set(value) = noImpl open var height: String - get() = noImpl - set(value) = noImpl open val contentDocument: Document? - get() = noImpl open val contentWindow: Window? - get() = noImpl open val willValidate: Boolean - get() = noImpl open val validity: ValidityState - get() = noImpl open val validationMessage: String - get() = noImpl open var align: String - get() = noImpl - set(value) = noImpl open var archive: String - get() = noImpl - set(value) = noImpl open var code: String - get() = noImpl - set(value) = noImpl open var declare: Boolean - get() = noImpl - set(value) = noImpl open var hspace: Int - get() = noImpl - set(value) = noImpl open var standby: String - get() = noImpl - set(value) = noImpl open var vspace: Int - get() = noImpl - set(value) = noImpl open var codeBase: String - get() = noImpl - set(value) = noImpl open var codeType: String - get() = noImpl - set(value) = noImpl open var border: String - get() = noImpl - set(value) = noImpl - fun getSVGDocument(): Document? = noImpl - fun checkValidity(): Boolean = noImpl - fun reportValidity(): Boolean = noImpl - fun setCustomValidity(error: String): Unit = noImpl + fun getSVGDocument(): Document? + fun checkValidity(): Boolean + fun reportValidity(): Boolean + fun setCustomValidity(error: String): Unit } public external abstract class HTMLParamElement : HTMLElement() { open var name: String - get() = noImpl - set(value) = noImpl open var value: String - get() = noImpl - set(value) = noImpl open var type: String - get() = noImpl - set(value) = noImpl open var valueType: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLVideoElement : HTMLMediaElement(), TexImageSource { open var width: Int - get() = noImpl - set(value) = noImpl open var height: Int - get() = noImpl - set(value) = noImpl open val videoWidth: Int - get() = noImpl open val videoHeight: Int - get() = noImpl open var poster: String - get() = noImpl - set(value) = noImpl open var playsInline: Boolean - get() = noImpl - set(value) = noImpl } public external abstract class HTMLAudioElement : HTMLMediaElement() { @@ -969,285 +599,173 @@ public external abstract class HTMLAudioElement : HTMLMediaElement() { public external abstract class HTMLTrackElement : HTMLElement() { open var kind: String - get() = noImpl - set(value) = noImpl open var src: String - get() = noImpl - set(value) = noImpl open var srclang: String - get() = noImpl - set(value) = noImpl open var label: String - get() = noImpl - set(value) = noImpl open var default: Boolean - get() = noImpl - set(value) = noImpl open val readyState: Short - get() = noImpl open val track: TextTrack - get() = noImpl companion object { - val NONE: Short = 0 - val LOADING: Short = 1 - val LOADED: Short = 2 - val ERROR: Short = 3 + val NONE: Short + val LOADING: Short + val LOADED: Short + val ERROR: Short } } public external abstract class HTMLMediaElement : HTMLElement() { open val error: MediaError? - get() = noImpl open var src: String - get() = noImpl - set(value) = noImpl open var srcObject: dynamic - get() = noImpl - set(value) = noImpl open val currentSrc: String - get() = noImpl open var crossOrigin: String? - get() = noImpl - set(value) = noImpl open val networkState: Short - get() = noImpl open var preload: String - get() = noImpl - set(value) = noImpl open val buffered: TimeRanges - get() = noImpl open val readyState: Short - get() = noImpl open val seeking: Boolean - get() = noImpl open var currentTime: Double - get() = noImpl - set(value) = noImpl open val duration: Double - get() = noImpl open val paused: Boolean - get() = noImpl open var defaultPlaybackRate: Double - get() = noImpl - set(value) = noImpl open var playbackRate: Double - get() = noImpl - set(value) = noImpl open val played: TimeRanges - get() = noImpl open val seekable: TimeRanges - get() = noImpl open val ended: Boolean - get() = noImpl open var autoplay: Boolean - get() = noImpl - set(value) = noImpl open var loop: Boolean - get() = noImpl - set(value) = noImpl open var controls: Boolean - get() = noImpl - set(value) = noImpl open var volume: Double - get() = noImpl - set(value) = noImpl open var muted: Boolean - get() = noImpl - set(value) = noImpl open var defaultMuted: Boolean - get() = noImpl - set(value) = noImpl open val audioTracks: AudioTrackList - get() = noImpl open val videoTracks: VideoTrackList - get() = noImpl open val textTracks: TextTrackList - get() = noImpl - fun load(): Unit = noImpl - fun canPlayType(type: String): String = noImpl - fun fastSeek(time: Double): Unit = noImpl - fun getStartDate(): dynamic = noImpl - fun play(): dynamic = noImpl - fun pause(): Unit = noImpl - fun addTextTrack(kind: String, label: String = "", language: String = ""): TextTrack = noImpl + fun load(): Unit + fun canPlayType(type: String): String + fun fastSeek(time: Double): Unit + fun getStartDate(): dynamic + fun play(): dynamic + fun pause(): Unit + fun addTextTrack(kind: String, label: String = noImpl, language: String = noImpl): TextTrack companion object { - val NETWORK_EMPTY: Short = 0 - val NETWORK_IDLE: Short = 1 - val NETWORK_LOADING: Short = 2 - val NETWORK_NO_SOURCE: Short = 3 - val HAVE_NOTHING: Short = 0 - val HAVE_METADATA: Short = 1 - val HAVE_CURRENT_DATA: Short = 2 - val HAVE_FUTURE_DATA: Short = 3 - val HAVE_ENOUGH_DATA: Short = 4 + val NETWORK_EMPTY: Short + val NETWORK_IDLE: Short + val NETWORK_LOADING: Short + val NETWORK_NO_SOURCE: Short + val HAVE_NOTHING: Short + val HAVE_METADATA: Short + val HAVE_CURRENT_DATA: Short + val HAVE_FUTURE_DATA: Short + val HAVE_ENOUGH_DATA: Short } } public external abstract class MediaError { open val code: Short - get() = noImpl companion object { - val MEDIA_ERR_ABORTED: Short = 1 - val MEDIA_ERR_NETWORK: Short = 2 - val MEDIA_ERR_DECODE: Short = 3 - val MEDIA_ERR_SRC_NOT_SUPPORTED: Short = 4 + val MEDIA_ERR_ABORTED: Short + val MEDIA_ERR_NETWORK: Short + val MEDIA_ERR_DECODE: Short + val MEDIA_ERR_SRC_NOT_SUPPORTED: Short } } public external abstract class AudioTrackList : EventTarget() { open val length: Int - get() = noImpl open var onchange: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onaddtrack: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onremovetrack: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl @nativeGetter - operator fun get(index: Int): AudioTrack? = noImpl - fun getTrackById(id: String): AudioTrack? = noImpl + operator fun get(index: Int): AudioTrack? + fun getTrackById(id: String): AudioTrack? } public external abstract class AudioTrack : UnionAudioTrackOrTextTrackOrVideoTrack { open val id: String - get() = noImpl open val kind: String - get() = noImpl open val label: String - get() = noImpl open val language: String - get() = noImpl open var enabled: Boolean - get() = noImpl - set(value) = noImpl } public external abstract class VideoTrackList : EventTarget() { open val length: Int - get() = noImpl open val selectedIndex: Int - get() = noImpl open var onchange: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onaddtrack: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onremovetrack: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl @nativeGetter - operator fun get(index: Int): VideoTrack? = noImpl - fun getTrackById(id: String): VideoTrack? = noImpl + operator fun get(index: Int): VideoTrack? + fun getTrackById(id: String): VideoTrack? } public external abstract class VideoTrack : UnionAudioTrackOrTextTrackOrVideoTrack { open val id: String - get() = noImpl open val kind: String - get() = noImpl open val label: String - get() = noImpl open val language: String - get() = noImpl open var selected: Boolean - get() = noImpl - set(value) = noImpl } public external abstract class TextTrackList : EventTarget() { open val length: Int - get() = noImpl open var onchange: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onaddtrack: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onremovetrack: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl @nativeGetter - operator fun get(index: Int): TextTrack? = noImpl - fun getTrackById(id: String): TextTrack? = noImpl + operator fun get(index: Int): TextTrack? + fun getTrackById(id: String): TextTrack? } public external abstract class TextTrack : EventTarget(), UnionAudioTrackOrTextTrackOrVideoTrack { open val kind: String - get() = noImpl open val label: String - get() = noImpl open val language: String - get() = noImpl open val id: String - get() = noImpl open val inBandMetadataTrackDispatchType: String - get() = noImpl open var mode: String - get() = noImpl - set(value) = noImpl open val cues: TextTrackCueList? - get() = noImpl open val activeCues: TextTrackCueList? - get() = noImpl open var oncuechange: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl - fun addCue(cue: TextTrackCue): Unit = noImpl - fun removeCue(cue: TextTrackCue): Unit = noImpl + fun addCue(cue: TextTrackCue): Unit + fun removeCue(cue: TextTrackCue): Unit } public external abstract class TextTrackCueList { open val length: Int - get() = noImpl @nativeGetter - operator fun get(index: Int): TextTrackCue? = noImpl - fun getCueById(id: String): TextTrackCue? = noImpl + operator fun get(index: Int): TextTrackCue? + fun getCueById(id: String): TextTrackCue? } public external abstract class TextTrackCue : EventTarget() { open val track: TextTrack? - get() = noImpl open var id: String - get() = noImpl - set(value) = noImpl open var startTime: Double - get() = noImpl - set(value) = noImpl open var endTime: Double - get() = noImpl - set(value) = noImpl open var pauseOnExit: Boolean - get() = noImpl - set(value) = noImpl open var onenter: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onexit: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl } public external abstract class TimeRanges { open val length: Int - get() = noImpl - fun start(index: Int): Double = noImpl - fun end(index: Int): Double = noImpl + fun start(index: Int): Double + fun end(index: Int): Double } public external open class TrackEvent(type: String, eventInitDict: TrackEventInit = noImpl) : Event(type, eventInitDict) { open val track: UnionAudioTrackOrTextTrackOrVideoTrack? - get() = noImpl } public external interface TrackEventInit : EventInit { var track: UnionAudioTrackOrTextTrackOrVideoTrack? /* = null */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -1264,846 +782,410 @@ public inline fun TrackEventInit(track: UnionAudioTrackOrTextTrackOrVideoTrack? public external abstract class HTMLMapElement : HTMLElement() { open var name: String - get() = noImpl - set(value) = noImpl open val areas: HTMLCollection - get() = noImpl } public external abstract class HTMLAreaElement : HTMLElement(), HTMLHyperlinkElementUtils { open var alt: String - get() = noImpl - set(value) = noImpl open var coords: String - get() = noImpl - set(value) = noImpl open var shape: String - get() = noImpl - set(value) = noImpl open var target: String - get() = noImpl - set(value) = noImpl open var download: String - get() = noImpl - set(value) = noImpl open var ping: String - get() = noImpl - set(value) = noImpl open var rel: String - get() = noImpl - set(value) = noImpl open val relList: DOMTokenList - get() = noImpl open var referrerPolicy: String - get() = noImpl - set(value) = noImpl open var noHref: Boolean - get() = noImpl - set(value) = noImpl } public external abstract class HTMLTableElement : HTMLElement() { open var caption: HTMLTableCaptionElement? - get() = noImpl - set(value) = noImpl open var tHead: HTMLTableSectionElement? - get() = noImpl - set(value) = noImpl open var tFoot: HTMLTableSectionElement? - get() = noImpl - set(value) = noImpl open val tBodies: HTMLCollection - get() = noImpl open val rows: HTMLCollection - get() = noImpl open var align: String - get() = noImpl - set(value) = noImpl open var border: String - get() = noImpl - set(value) = noImpl open var frame: String - get() = noImpl - set(value) = noImpl open var rules: String - get() = noImpl - set(value) = noImpl open var summary: String - get() = noImpl - set(value) = noImpl open var width: String - get() = noImpl - set(value) = noImpl open var bgColor: String - get() = noImpl - set(value) = noImpl open var cellPadding: String - get() = noImpl - set(value) = noImpl open var cellSpacing: String - get() = noImpl - set(value) = noImpl - fun createCaption(): HTMLTableCaptionElement = noImpl - fun deleteCaption(): Unit = noImpl - fun createTHead(): HTMLTableSectionElement = noImpl - fun deleteTHead(): Unit = noImpl - fun createTFoot(): HTMLTableSectionElement = noImpl - fun deleteTFoot(): Unit = noImpl - fun createTBody(): HTMLTableSectionElement = noImpl - fun insertRow(index: Int = -1): HTMLTableRowElement = noImpl - fun deleteRow(index: Int): Unit = noImpl + fun createCaption(): HTMLTableCaptionElement + fun deleteCaption(): Unit + fun createTHead(): HTMLTableSectionElement + fun deleteTHead(): Unit + fun createTFoot(): HTMLTableSectionElement + fun deleteTFoot(): Unit + fun createTBody(): HTMLTableSectionElement + fun insertRow(index: Int = noImpl): HTMLTableRowElement + fun deleteRow(index: Int): Unit } public external abstract class HTMLTableCaptionElement : HTMLElement() { open var align: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLTableColElement : HTMLElement() { open var span: Int - get() = noImpl - set(value) = noImpl open var align: String - get() = noImpl - set(value) = noImpl open var ch: String - get() = noImpl - set(value) = noImpl open var chOff: String - get() = noImpl - set(value) = noImpl open var vAlign: String - get() = noImpl - set(value) = noImpl open var width: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLTableSectionElement : HTMLElement() { open val rows: HTMLCollection - get() = noImpl open var align: String - get() = noImpl - set(value) = noImpl open var ch: String - get() = noImpl - set(value) = noImpl open var chOff: String - get() = noImpl - set(value) = noImpl open var vAlign: String - get() = noImpl - set(value) = noImpl - fun insertRow(index: Int = -1): HTMLElement = noImpl - fun deleteRow(index: Int): Unit = noImpl + fun insertRow(index: Int = noImpl): HTMLElement + fun deleteRow(index: Int): Unit } public external abstract class HTMLTableRowElement : HTMLElement() { open val rowIndex: Int - get() = noImpl open val sectionRowIndex: Int - get() = noImpl open val cells: HTMLCollection - get() = noImpl open var align: String - get() = noImpl - set(value) = noImpl open var ch: String - get() = noImpl - set(value) = noImpl open var chOff: String - get() = noImpl - set(value) = noImpl open var vAlign: String - get() = noImpl - set(value) = noImpl open var bgColor: String - get() = noImpl - set(value) = noImpl - fun insertCell(index: Int = -1): HTMLElement = noImpl - fun deleteCell(index: Int): Unit = noImpl + fun insertCell(index: Int = noImpl): HTMLElement + fun deleteCell(index: Int): Unit } public external abstract class HTMLTableCellElement : HTMLElement() { open var colSpan: Int - get() = noImpl - set(value) = noImpl open var rowSpan: Int - get() = noImpl - set(value) = noImpl open var headers: String - get() = noImpl - set(value) = noImpl open val cellIndex: Int - get() = noImpl open var scope: String - get() = noImpl - set(value) = noImpl open var abbr: String - get() = noImpl - set(value) = noImpl open var align: String - get() = noImpl - set(value) = noImpl open var axis: String - get() = noImpl - set(value) = noImpl open var height: String - get() = noImpl - set(value) = noImpl open var width: String - get() = noImpl - set(value) = noImpl open var ch: String - get() = noImpl - set(value) = noImpl open var chOff: String - get() = noImpl - set(value) = noImpl open var noWrap: Boolean - get() = noImpl - set(value) = noImpl open var vAlign: String - get() = noImpl - set(value) = noImpl open var bgColor: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLFormElement : HTMLElement() { open var acceptCharset: String - get() = noImpl - set(value) = noImpl open var action: String - get() = noImpl - set(value) = noImpl open var autocomplete: String - get() = noImpl - set(value) = noImpl open var enctype: String - get() = noImpl - set(value) = noImpl open var encoding: String - get() = noImpl - set(value) = noImpl open var method: String - get() = noImpl - set(value) = noImpl open var name: String - get() = noImpl - set(value) = noImpl open var noValidate: Boolean - get() = noImpl - set(value) = noImpl open var target: String - get() = noImpl - set(value) = noImpl open val elements: HTMLFormControlsCollection - get() = noImpl open val length: Int - get() = noImpl @nativeGetter - operator fun get(index: Int): Element? = noImpl + operator fun get(index: Int): Element? @nativeGetter - operator fun get(name: String): UnionElementOrRadioNodeList? = noImpl - fun submit(): Unit = noImpl - fun reset(): Unit = noImpl - fun checkValidity(): Boolean = noImpl - fun reportValidity(): Boolean = noImpl + operator fun get(name: String): UnionElementOrRadioNodeList? + fun submit(): Unit + fun reset(): Unit + fun checkValidity(): Boolean + fun reportValidity(): Boolean } public external abstract class HTMLLabelElement : HTMLElement() { open val form: HTMLFormElement? - get() = noImpl open var htmlFor: String - get() = noImpl - set(value) = noImpl open val control: HTMLElement? - get() = noImpl } public external abstract class HTMLInputElement : HTMLElement() { open var accept: String - get() = noImpl - set(value) = noImpl open var alt: String - get() = noImpl - set(value) = noImpl open var autocomplete: String - get() = noImpl - set(value) = noImpl open var autofocus: Boolean - get() = noImpl - set(value) = noImpl open var defaultChecked: Boolean - get() = noImpl - set(value) = noImpl open var checked: Boolean - get() = noImpl - set(value) = noImpl open var dirName: String - get() = noImpl - set(value) = noImpl open var disabled: Boolean - get() = noImpl - set(value) = noImpl open val form: HTMLFormElement? - get() = noImpl open val files: FileList? - get() = noImpl open var formAction: String - get() = noImpl - set(value) = noImpl open var formEnctype: String - get() = noImpl - set(value) = noImpl open var formMethod: String - get() = noImpl - set(value) = noImpl open var formNoValidate: Boolean - get() = noImpl - set(value) = noImpl open var formTarget: String - get() = noImpl - set(value) = noImpl open var height: Int - get() = noImpl - set(value) = noImpl open var indeterminate: Boolean - get() = noImpl - set(value) = noImpl open var inputMode: String - get() = noImpl - set(value) = noImpl open val list: HTMLElement? - get() = noImpl open var max: String - get() = noImpl - set(value) = noImpl open var maxLength: Int - get() = noImpl - set(value) = noImpl open var min: String - get() = noImpl - set(value) = noImpl open var minLength: Int - get() = noImpl - set(value) = noImpl open var multiple: Boolean - get() = noImpl - set(value) = noImpl open var name: String - get() = noImpl - set(value) = noImpl open var pattern: String - get() = noImpl - set(value) = noImpl open var placeholder: String - get() = noImpl - set(value) = noImpl open var readOnly: Boolean - get() = noImpl - set(value) = noImpl open var required: Boolean - get() = noImpl - set(value) = noImpl open var size: Int - get() = noImpl - set(value) = noImpl open var src: String - get() = noImpl - set(value) = noImpl open var step: String - get() = noImpl - set(value) = noImpl open var type: String - get() = noImpl - set(value) = noImpl open var defaultValue: String - get() = noImpl - set(value) = noImpl open var value: String - get() = noImpl - set(value) = noImpl open var valueAsDate: dynamic - get() = noImpl - set(value) = noImpl open var valueAsNumber: Double - get() = noImpl - set(value) = noImpl open var width: Int - get() = noImpl - set(value) = noImpl open val willValidate: Boolean - get() = noImpl open val validity: ValidityState - get() = noImpl open val validationMessage: String - get() = noImpl open val labels: NodeList - get() = noImpl open var selectionStart: Int? - get() = noImpl - set(value) = noImpl open var selectionEnd: Int? - get() = noImpl - set(value) = noImpl open var selectionDirection: String? - get() = noImpl - set(value) = noImpl open var align: String - get() = noImpl - set(value) = noImpl open var useMap: String - get() = noImpl - set(value) = noImpl - fun stepUp(n: Int = 1): Unit = noImpl - fun stepDown(n: Int = 1): Unit = noImpl - fun checkValidity(): Boolean = noImpl - fun reportValidity(): Boolean = noImpl - fun setCustomValidity(error: String): Unit = noImpl - fun select(): Unit = noImpl - fun setRangeText(replacement: String): Unit = noImpl - fun setRangeText(replacement: String, start: Int, end: Int, selectionMode: String = "preserve"): Unit = noImpl - fun setSelectionRange(start: Int, end: Int, direction: String = noImpl): Unit = noImpl + fun stepUp(n: Int = noImpl): Unit + fun stepDown(n: Int = noImpl): Unit + fun checkValidity(): Boolean + fun reportValidity(): Boolean + fun setCustomValidity(error: String): Unit + fun select(): Unit + fun setRangeText(replacement: String): Unit + fun setRangeText(replacement: String, start: Int, end: Int, selectionMode: String = noImpl): Unit + fun setSelectionRange(start: Int, end: Int, direction: String = noImpl): Unit } public external abstract class HTMLButtonElement : HTMLElement() { open var autofocus: Boolean - get() = noImpl - set(value) = noImpl open var disabled: Boolean - get() = noImpl - set(value) = noImpl open val form: HTMLFormElement? - get() = noImpl open var formAction: String - get() = noImpl - set(value) = noImpl open var formEnctype: String - get() = noImpl - set(value) = noImpl open var formMethod: String - get() = noImpl - set(value) = noImpl open var formNoValidate: Boolean - get() = noImpl - set(value) = noImpl open var formTarget: String - get() = noImpl - set(value) = noImpl open var name: String - get() = noImpl - set(value) = noImpl open var type: String - get() = noImpl - set(value) = noImpl open var value: String - get() = noImpl - set(value) = noImpl open var menu: HTMLMenuElement? - get() = noImpl - set(value) = noImpl open val willValidate: Boolean - get() = noImpl open val validity: ValidityState - get() = noImpl open val validationMessage: String - get() = noImpl open val labels: NodeList - get() = noImpl - fun checkValidity(): Boolean = noImpl - fun reportValidity(): Boolean = noImpl - fun setCustomValidity(error: String): Unit = noImpl + fun checkValidity(): Boolean + fun reportValidity(): Boolean + fun setCustomValidity(error: String): Unit } public external abstract class HTMLSelectElement : HTMLElement() { open var autocomplete: String - get() = noImpl - set(value) = noImpl open var autofocus: Boolean - get() = noImpl - set(value) = noImpl open var disabled: Boolean - get() = noImpl - set(value) = noImpl open val form: HTMLFormElement? - get() = noImpl open var multiple: Boolean - get() = noImpl - set(value) = noImpl open var name: String - get() = noImpl - set(value) = noImpl open var required: Boolean - get() = noImpl - set(value) = noImpl open var size: Int - get() = noImpl - set(value) = noImpl open val type: String - get() = noImpl open val options: HTMLOptionsCollection - get() = noImpl open var length: Int - get() = noImpl - set(value) = noImpl open val selectedOptions: HTMLCollection - get() = noImpl open var selectedIndex: Int - get() = noImpl - set(value) = noImpl open var value: String - get() = noImpl - set(value) = noImpl open val willValidate: Boolean - get() = noImpl open val validity: ValidityState - get() = noImpl open val validationMessage: String - get() = noImpl open val labels: NodeList - get() = noImpl - fun item(index: Int): Element? = noImpl + fun item(index: Int): Element? @nativeGetter - operator fun get(index: Int): Element? = noImpl - fun namedItem(name: String): HTMLOptionElement? = noImpl - fun add(element: UnionHTMLOptGroupElementOrHTMLOptionElement, before: dynamic = null): Unit = noImpl - fun remove(index: Int): Unit = noImpl + operator fun get(index: Int): Element? + fun namedItem(name: String): HTMLOptionElement? + fun add(element: UnionHTMLOptGroupElementOrHTMLOptionElement, before: dynamic = noImpl): Unit + fun remove(index: Int): Unit @nativeSetter - operator fun set(index: Int, option: HTMLOptionElement?): Unit = noImpl - fun checkValidity(): Boolean = noImpl - fun reportValidity(): Boolean = noImpl - fun setCustomValidity(error: String): Unit = noImpl + operator fun set(index: Int, option: HTMLOptionElement?): Unit + fun checkValidity(): Boolean + fun reportValidity(): Boolean + fun setCustomValidity(error: String): Unit } public external abstract class HTMLDataListElement : HTMLElement() { open val options: HTMLCollection - get() = noImpl } public external abstract class HTMLOptGroupElement : HTMLElement(), UnionHTMLOptGroupElementOrHTMLOptionElement { open var disabled: Boolean - get() = noImpl - set(value) = noImpl open var label: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLOptionElement : HTMLElement(), UnionHTMLOptGroupElementOrHTMLOptionElement { open var disabled: Boolean - get() = noImpl - set(value) = noImpl open val form: HTMLFormElement? - get() = noImpl open var label: String - get() = noImpl - set(value) = noImpl open var defaultSelected: Boolean - get() = noImpl - set(value) = noImpl open var selected: Boolean - get() = noImpl - set(value) = noImpl open var value: String - get() = noImpl - set(value) = noImpl open var text: String - get() = noImpl - set(value) = noImpl open val index: Int - get() = noImpl } public external abstract class HTMLTextAreaElement : HTMLElement() { open var autocomplete: String - get() = noImpl - set(value) = noImpl open var autofocus: Boolean - get() = noImpl - set(value) = noImpl open var cols: Int - get() = noImpl - set(value) = noImpl open var dirName: String - get() = noImpl - set(value) = noImpl open var disabled: Boolean - get() = noImpl - set(value) = noImpl open val form: HTMLFormElement? - get() = noImpl open var inputMode: String - get() = noImpl - set(value) = noImpl open var maxLength: Int - get() = noImpl - set(value) = noImpl open var minLength: Int - get() = noImpl - set(value) = noImpl open var name: String - get() = noImpl - set(value) = noImpl open var placeholder: String - get() = noImpl - set(value) = noImpl open var readOnly: Boolean - get() = noImpl - set(value) = noImpl open var required: Boolean - get() = noImpl - set(value) = noImpl open var rows: Int - get() = noImpl - set(value) = noImpl open var wrap: String - get() = noImpl - set(value) = noImpl open val type: String - get() = noImpl open var defaultValue: String - get() = noImpl - set(value) = noImpl open var value: String - get() = noImpl - set(value) = noImpl open val textLength: Int - get() = noImpl open val willValidate: Boolean - get() = noImpl open val validity: ValidityState - get() = noImpl open val validationMessage: String - get() = noImpl open val labels: NodeList - get() = noImpl open var selectionStart: Int? - get() = noImpl - set(value) = noImpl open var selectionEnd: Int? - get() = noImpl - set(value) = noImpl open var selectionDirection: String? - get() = noImpl - set(value) = noImpl - fun checkValidity(): Boolean = noImpl - fun reportValidity(): Boolean = noImpl - fun setCustomValidity(error: String): Unit = noImpl - fun select(): Unit = noImpl - fun setRangeText(replacement: String): Unit = noImpl - fun setRangeText(replacement: String, start: Int, end: Int, selectionMode: String = "preserve"): Unit = noImpl - fun setSelectionRange(start: Int, end: Int, direction: String = noImpl): Unit = noImpl + fun checkValidity(): Boolean + fun reportValidity(): Boolean + fun setCustomValidity(error: String): Unit + fun select(): Unit + fun setRangeText(replacement: String): Unit + fun setRangeText(replacement: String, start: Int, end: Int, selectionMode: String = noImpl): Unit + fun setSelectionRange(start: Int, end: Int, direction: String = noImpl): Unit } public external abstract class HTMLKeygenElement : HTMLElement() { open var autofocus: Boolean - get() = noImpl - set(value) = noImpl open var challenge: String - get() = noImpl - set(value) = noImpl open var disabled: Boolean - get() = noImpl - set(value) = noImpl open val form: HTMLFormElement? - get() = noImpl open var keytype: String - get() = noImpl - set(value) = noImpl open var name: String - get() = noImpl - set(value) = noImpl open val type: String - get() = noImpl open val willValidate: Boolean - get() = noImpl open val validity: ValidityState - get() = noImpl open val validationMessage: String - get() = noImpl open val labels: NodeList - get() = noImpl - fun checkValidity(): Boolean = noImpl - fun reportValidity(): Boolean = noImpl - fun setCustomValidity(error: String): Unit = noImpl + fun checkValidity(): Boolean + fun reportValidity(): Boolean + fun setCustomValidity(error: String): Unit } public external abstract class HTMLOutputElement : HTMLElement() { open val htmlFor: DOMTokenList - get() = noImpl open val form: HTMLFormElement? - get() = noImpl open var name: String - get() = noImpl - set(value) = noImpl open val type: String - get() = noImpl open var defaultValue: String - get() = noImpl - set(value) = noImpl open var value: String - get() = noImpl - set(value) = noImpl open val willValidate: Boolean - get() = noImpl open val validity: ValidityState - get() = noImpl open val validationMessage: String - get() = noImpl open val labels: NodeList - get() = noImpl - fun checkValidity(): Boolean = noImpl - fun reportValidity(): Boolean = noImpl - fun setCustomValidity(error: String): Unit = noImpl + fun checkValidity(): Boolean + fun reportValidity(): Boolean + fun setCustomValidity(error: String): Unit } public external abstract class HTMLProgressElement : HTMLElement() { open var value: Double - get() = noImpl - set(value) = noImpl open var max: Double - get() = noImpl - set(value) = noImpl open val position: Double - get() = noImpl open val labels: NodeList - get() = noImpl } public external abstract class HTMLMeterElement : HTMLElement() { open var value: Double - get() = noImpl - set(value) = noImpl open var min: Double - get() = noImpl - set(value) = noImpl open var max: Double - get() = noImpl - set(value) = noImpl open var low: Double - get() = noImpl - set(value) = noImpl open var high: Double - get() = noImpl - set(value) = noImpl open var optimum: Double - get() = noImpl - set(value) = noImpl open val labels: NodeList - get() = noImpl } public external abstract class HTMLFieldSetElement : HTMLElement() { open var disabled: Boolean - get() = noImpl - set(value) = noImpl open val form: HTMLFormElement? - get() = noImpl open var name: String - get() = noImpl - set(value) = noImpl open val type: String - get() = noImpl open val elements: HTMLCollection - get() = noImpl open val willValidate: Boolean - get() = noImpl open val validity: ValidityState - get() = noImpl open val validationMessage: String - get() = noImpl - fun checkValidity(): Boolean = noImpl - fun reportValidity(): Boolean = noImpl - fun setCustomValidity(error: String): Unit = noImpl + fun checkValidity(): Boolean + fun reportValidity(): Boolean + fun setCustomValidity(error: String): Unit } public external abstract class HTMLLegendElement : HTMLElement() { open val form: HTMLFormElement? - get() = noImpl open var align: String - get() = noImpl - set(value) = noImpl } public external abstract class ValidityState { open val valueMissing: Boolean - get() = noImpl open val typeMismatch: Boolean - get() = noImpl open val patternMismatch: Boolean - get() = noImpl open val tooLong: Boolean - get() = noImpl open val tooShort: Boolean - get() = noImpl open val rangeUnderflow: Boolean - get() = noImpl open val rangeOverflow: Boolean - get() = noImpl open val stepMismatch: Boolean - get() = noImpl open val badInput: Boolean - get() = noImpl open val customError: Boolean - get() = noImpl open val valid: Boolean - get() = noImpl } public external abstract class HTMLDetailsElement : HTMLElement() { open var open: Boolean - get() = noImpl - set(value) = noImpl } public external abstract class HTMLMenuElement : HTMLElement() { open var type: String - get() = noImpl - set(value) = noImpl open var label: String - get() = noImpl - set(value) = noImpl open var compact: Boolean - get() = noImpl - set(value) = noImpl } public external abstract class HTMLMenuItemElement : HTMLElement() { open var type: String - get() = noImpl - set(value) = noImpl open var label: String - get() = noImpl - set(value) = noImpl open var icon: String - get() = noImpl - set(value) = noImpl open var disabled: Boolean - get() = noImpl - set(value) = noImpl open var checked: Boolean - get() = noImpl - set(value) = noImpl open var radiogroup: String - get() = noImpl - set(value) = noImpl open var default: Boolean - get() = noImpl - set(value) = noImpl } public external open class RelatedEvent(type: String, eventInitDict: RelatedEventInit = noImpl) : Event(type, eventInitDict) { open val relatedTarget: EventTarget? - get() = noImpl } public external interface RelatedEventInit : EventInit { var relatedTarget: EventTarget? /* = null */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -2120,63 +1202,38 @@ public inline fun RelatedEventInit(relatedTarget: EventTarget? = null, bubbles: public external abstract class HTMLDialogElement : HTMLElement() { open var open: Boolean - get() = noImpl - set(value) = noImpl open var returnValue: String - get() = noImpl - set(value) = noImpl - fun show(anchor: UnionElementOrMouseEvent = noImpl): Unit = noImpl - fun showModal(anchor: UnionElementOrMouseEvent = noImpl): Unit = noImpl - fun close(returnValue: String = noImpl): Unit = noImpl + fun show(anchor: UnionElementOrMouseEvent = noImpl): Unit + fun showModal(anchor: UnionElementOrMouseEvent = noImpl): Unit + fun close(returnValue: String = noImpl): Unit } public external abstract class HTMLScriptElement : HTMLElement(), HTMLOrSVGScriptElement { open var src: String - get() = noImpl - set(value) = noImpl open var type: String - get() = noImpl - set(value) = noImpl open var charset: String - get() = noImpl - set(value) = noImpl open var async: Boolean - get() = noImpl - set(value) = noImpl open var defer: Boolean - get() = noImpl - set(value) = noImpl open var crossOrigin: String? - get() = noImpl - set(value) = noImpl open var text: String - get() = noImpl - set(value) = noImpl open var nonce: String - get() = noImpl - set(value) = noImpl open var event: String - get() = noImpl - set(value) = noImpl open var htmlFor: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLTemplateElement : HTMLElement() { open val content: DocumentFragment - get() = noImpl } public external abstract class HTMLSlotElement : HTMLElement() { open var name: String - get() = noImpl - set(value) = noImpl - fun assignedNodes(options: AssignedNodesOptions = noImpl): Array = noImpl + fun assignedNodes(options: AssignedNodesOptions = noImpl): Array } public external interface AssignedNodesOptions { var flatten: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -2190,18 +1247,16 @@ public inline fun AssignedNodesOptions(flatten: Boolean? = false): AssignedNodes public external abstract class HTMLCanvasElement : HTMLElement(), TexImageSource { open var width: Int - get() = noImpl - set(value) = noImpl open var height: Int - get() = noImpl - set(value) = noImpl - fun getContext(contextId: String, vararg arguments: Any?): RenderingContext? = noImpl - fun toDataURL(type: String = noImpl, quality: Any? = noImpl): String = noImpl - fun toBlob(_callback: (Blob?) -> Unit, type: String = noImpl, quality: Any? = noImpl): Unit = noImpl + fun getContext(contextId: String, vararg arguments: Any?): RenderingContext? + fun toDataURL(type: String = noImpl, quality: Any? = noImpl): String + fun toBlob(_callback: (Blob?) -> Unit, type: String = noImpl, quality: Any? = noImpl): Unit } public external interface CanvasRenderingContext2DSettings { var alpha: Boolean? /* = true */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -2215,222 +1270,185 @@ public inline fun CanvasRenderingContext2DSettings(alpha: Boolean? = true): Canv public external abstract class CanvasRenderingContext2D : CanvasState, CanvasTransform, CanvasCompositing, CanvasImageSmoothing, CanvasFillStrokeStyles, CanvasShadowStyles, CanvasFilters, CanvasRect, CanvasDrawPath, CanvasUserInterface, CanvasText, CanvasDrawImage, CanvasHitRegion, CanvasImageData, CanvasPathDrawingStyles, CanvasTextDrawingStyles, CanvasPath, RenderingContext { open val canvas: HTMLCanvasElement - get() = noImpl } public external interface CanvasState { - fun save(): Unit = noImpl - fun restore(): Unit = noImpl + fun save(): Unit + fun restore(): Unit } public external interface CanvasTransform { - fun scale(x: Double, y: Double): Unit = noImpl - fun rotate(angle: Double): Unit = noImpl - fun translate(x: Double, y: Double): Unit = noImpl - fun transform(a: Double, b: Double, c: Double, d: Double, e: Double, f: Double): Unit = noImpl - fun getTransform(): DOMMatrix = noImpl - fun setTransform(a: Double, b: Double, c: Double, d: Double, e: Double, f: Double): Unit = noImpl - fun setTransform(transform: dynamic = noImpl): Unit = noImpl - fun resetTransform(): Unit = noImpl + fun scale(x: Double, y: Double): Unit + fun rotate(angle: Double): Unit + fun translate(x: Double, y: Double): Unit + fun transform(a: Double, b: Double, c: Double, d: Double, e: Double, f: Double): Unit + fun getTransform(): DOMMatrix + fun setTransform(a: Double, b: Double, c: Double, d: Double, e: Double, f: Double): Unit + fun setTransform(transform: dynamic = noImpl): Unit + fun resetTransform(): Unit } public external interface CanvasCompositing { var globalAlpha: Double - get() = noImpl - set(value) = noImpl var globalCompositeOperation: String - get() = noImpl - set(value) = noImpl } public external interface CanvasImageSmoothing { var imageSmoothingEnabled: Boolean - get() = noImpl - set(value) = noImpl var imageSmoothingQuality: String - get() = noImpl - set(value) = noImpl } public external interface CanvasFillStrokeStyles { var strokeStyle: dynamic - get() = noImpl - set(value) = noImpl var fillStyle: dynamic - get() = noImpl - set(value) = noImpl - fun createLinearGradient(x0: Double, y0: Double, x1: Double, y1: Double): CanvasGradient = noImpl - fun createRadialGradient(x0: Double, y0: Double, r0: Double, x1: Double, y1: Double, r1: Double): CanvasGradient = noImpl - fun createPattern(image: dynamic, repetition: String): CanvasPattern? = noImpl + fun createLinearGradient(x0: Double, y0: Double, x1: Double, y1: Double): CanvasGradient + fun createRadialGradient(x0: Double, y0: Double, r0: Double, x1: Double, y1: Double, r1: Double): CanvasGradient + fun createPattern(image: dynamic, repetition: String): CanvasPattern? } public external interface CanvasShadowStyles { var shadowOffsetX: Double - get() = noImpl - set(value) = noImpl var shadowOffsetY: Double - get() = noImpl - set(value) = noImpl var shadowBlur: Double - get() = noImpl - set(value) = noImpl var shadowColor: String - get() = noImpl - set(value) = noImpl } public external interface CanvasFilters { var filter: String - get() = noImpl - set(value) = noImpl } public external interface CanvasRect { - fun clearRect(x: Double, y: Double, w: Double, h: Double): Unit = noImpl - fun fillRect(x: Double, y: Double, w: Double, h: Double): Unit = noImpl - fun strokeRect(x: Double, y: Double, w: Double, h: Double): Unit = noImpl + fun clearRect(x: Double, y: Double, w: Double, h: Double): Unit + fun fillRect(x: Double, y: Double, w: Double, h: Double): Unit + fun strokeRect(x: Double, y: Double, w: Double, h: Double): Unit } public external interface CanvasDrawPath { - fun beginPath(): Unit = noImpl - fun fill(fillRule: String = "nonzero"): Unit = noImpl - fun fill(path: Path2D, fillRule: String = "nonzero"): Unit = noImpl - fun stroke(): Unit = noImpl - fun stroke(path: Path2D): Unit = noImpl - fun clip(fillRule: String = "nonzero"): Unit = noImpl - fun clip(path: Path2D, fillRule: String = "nonzero"): Unit = noImpl - fun resetClip(): Unit = noImpl - fun isPointInPath(x: Double, y: Double, fillRule: String = "nonzero"): Boolean = noImpl - fun isPointInPath(path: Path2D, x: Double, y: Double, fillRule: String = "nonzero"): Boolean = noImpl - fun isPointInStroke(x: Double, y: Double): Boolean = noImpl - fun isPointInStroke(path: Path2D, x: Double, y: Double): Boolean = noImpl + fun beginPath(): Unit + fun fill(fillRule: String = noImpl): Unit + fun fill(path: Path2D, fillRule: String = noImpl): Unit + fun stroke(): Unit + fun stroke(path: Path2D): Unit + fun clip(fillRule: String = noImpl): Unit + fun clip(path: Path2D, fillRule: String = noImpl): Unit + fun resetClip(): Unit + fun isPointInPath(x: Double, y: Double, fillRule: String = noImpl): Boolean + fun isPointInPath(path: Path2D, x: Double, y: Double, fillRule: String = noImpl): Boolean + fun isPointInStroke(x: Double, y: Double): Boolean + fun isPointInStroke(path: Path2D, x: Double, y: Double): Boolean } public external interface CanvasUserInterface { - fun drawFocusIfNeeded(element: Element): Unit = noImpl - fun drawFocusIfNeeded(path: Path2D, element: Element): Unit = noImpl - fun scrollPathIntoView(): Unit = noImpl - fun scrollPathIntoView(path: Path2D): Unit = noImpl + fun drawFocusIfNeeded(element: Element): Unit + fun drawFocusIfNeeded(path: Path2D, element: Element): Unit + fun scrollPathIntoView(): Unit + fun scrollPathIntoView(path: Path2D): Unit } public external interface CanvasText { - fun fillText(text: String, x: Double, y: Double, maxWidth: Double = noImpl): Unit = noImpl - fun strokeText(text: String, x: Double, y: Double, maxWidth: Double = noImpl): Unit = noImpl - fun measureText(text: String): TextMetrics = noImpl + fun fillText(text: String, x: Double, y: Double, maxWidth: Double = noImpl): Unit + fun strokeText(text: String, x: Double, y: Double, maxWidth: Double = noImpl): Unit + fun measureText(text: String): TextMetrics } public external interface CanvasDrawImage { - fun drawImage(image: dynamic, dx: Double, dy: Double): Unit = noImpl - fun drawImage(image: dynamic, dx: Double, dy: Double, dw: Double, dh: Double): Unit = noImpl - fun drawImage(image: dynamic, sx: Double, sy: Double, sw: Double, sh: Double, dx: Double, dy: Double, dw: Double, dh: Double): Unit = noImpl + fun drawImage(image: dynamic, dx: Double, dy: Double): Unit + fun drawImage(image: dynamic, dx: Double, dy: Double, dw: Double, dh: Double): Unit + fun drawImage(image: dynamic, sx: Double, sy: Double, sw: Double, sh: Double, dx: Double, dy: Double, dw: Double, dh: Double): Unit } public external interface CanvasHitRegion { - fun addHitRegion(options: HitRegionOptions = noImpl): Unit = noImpl - fun removeHitRegion(id: String): Unit = noImpl - fun clearHitRegions(): Unit = noImpl + fun addHitRegion(options: HitRegionOptions = noImpl): Unit + fun removeHitRegion(id: String): Unit + fun clearHitRegions(): Unit } public external interface CanvasImageData { - fun createImageData(sw: Double, sh: Double): ImageData = noImpl - fun createImageData(imagedata: ImageData): ImageData = noImpl - fun getImageData(sx: Double, sy: Double, sw: Double, sh: Double): ImageData = noImpl - fun putImageData(imagedata: ImageData, dx: Double, dy: Double): Unit = noImpl - fun putImageData(imagedata: ImageData, dx: Double, dy: Double, dirtyX: Double, dirtyY: Double, dirtyWidth: Double, dirtyHeight: Double): Unit = noImpl + fun createImageData(sw: Double, sh: Double): ImageData + fun createImageData(imagedata: ImageData): ImageData + fun getImageData(sx: Double, sy: Double, sw: Double, sh: Double): ImageData + fun putImageData(imagedata: ImageData, dx: Double, dy: Double): Unit + fun putImageData(imagedata: ImageData, dx: Double, dy: Double, dirtyX: Double, dirtyY: Double, dirtyWidth: Double, dirtyHeight: Double): Unit } public external interface CanvasPathDrawingStyles { var lineWidth: Double - get() = noImpl - set(value) = noImpl var lineCap: String - get() = noImpl - set(value) = noImpl var lineJoin: String - get() = noImpl - set(value) = noImpl var miterLimit: Double - get() = noImpl - set(value) = noImpl var lineDashOffset: Double - get() = noImpl - set(value) = noImpl - fun setLineDash(segments: Array): Unit = noImpl - fun getLineDash(): Array = noImpl + fun setLineDash(segments: Array): Unit + fun getLineDash(): Array } public external interface CanvasTextDrawingStyles { var font: String - get() = noImpl - set(value) = noImpl var textAlign: String - get() = noImpl - set(value) = noImpl var textBaseline: String - get() = noImpl - set(value) = noImpl var direction: String - get() = noImpl - set(value) = noImpl } public external interface CanvasPath { - fun closePath(): Unit = noImpl - fun moveTo(x: Double, y: Double): Unit = noImpl - fun lineTo(x: Double, y: Double): Unit = noImpl - fun quadraticCurveTo(cpx: Double, cpy: Double, x: Double, y: Double): Unit = noImpl - fun bezierCurveTo(cp1x: Double, cp1y: Double, cp2x: Double, cp2y: Double, x: Double, y: Double): Unit = noImpl - fun arcTo(x1: Double, y1: Double, x2: Double, y2: Double, radius: Double): Unit = noImpl - fun arcTo(x1: Double, y1: Double, x2: Double, y2: Double, radiusX: Double, radiusY: Double, rotation: Double): Unit = noImpl - fun rect(x: Double, y: Double, w: Double, h: Double): Unit = noImpl - fun arc(x: Double, y: Double, radius: Double, startAngle: Double, endAngle: Double, anticlockwise: Boolean = false): Unit = noImpl - fun ellipse(x: Double, y: Double, radiusX: Double, radiusY: Double, rotation: Double, startAngle: Double, endAngle: Double, anticlockwise: Boolean = false): Unit = noImpl + fun closePath(): Unit + fun moveTo(x: Double, y: Double): Unit + fun lineTo(x: Double, y: Double): Unit + fun quadraticCurveTo(cpx: Double, cpy: Double, x: Double, y: Double): Unit + fun bezierCurveTo(cp1x: Double, cp1y: Double, cp2x: Double, cp2y: Double, x: Double, y: Double): Unit + fun arcTo(x1: Double, y1: Double, x2: Double, y2: Double, radius: Double): Unit + fun arcTo(x1: Double, y1: Double, x2: Double, y2: Double, radiusX: Double, radiusY: Double, rotation: Double): Unit + fun rect(x: Double, y: Double, w: Double, h: Double): Unit + fun arc(x: Double, y: Double, radius: Double, startAngle: Double, endAngle: Double, anticlockwise: Boolean = noImpl): Unit + fun ellipse(x: Double, y: Double, radiusX: Double, radiusY: Double, rotation: Double, startAngle: Double, endAngle: Double, anticlockwise: Boolean = noImpl): Unit } public external abstract class CanvasGradient { - fun addColorStop(offset: Double, color: String): Unit = noImpl + fun addColorStop(offset: Double, color: String): Unit } public external abstract class CanvasPattern { - fun setTransform(transform: dynamic = noImpl): Unit = noImpl + fun setTransform(transform: dynamic = noImpl): Unit } public external abstract class TextMetrics { open val width: Double - get() = noImpl open val actualBoundingBoxLeft: Double - get() = noImpl open val actualBoundingBoxRight: Double - get() = noImpl open val fontBoundingBoxAscent: Double - get() = noImpl open val fontBoundingBoxDescent: Double - get() = noImpl open val actualBoundingBoxAscent: Double - get() = noImpl open val actualBoundingBoxDescent: Double - get() = noImpl open val emHeightAscent: Double - get() = noImpl open val emHeightDescent: Double - get() = noImpl open val hangingBaseline: Double - get() = noImpl open val alphabeticBaseline: Double - get() = noImpl open val ideographicBaseline: Double - get() = noImpl } public external interface HitRegionOptions { var path: Path2D? /* = null */ + get() = noImpl + set(value) = noImpl var fillRule: String? /* = "nonzero" */ + get() = noImpl + set(value) = noImpl var id: String? /* = "" */ + get() = noImpl + set(value) = noImpl var parentID: String? /* = null */ + get() = noImpl + set(value) = noImpl var cursor: String? /* = "inherit" */ + get() = noImpl + set(value) = noImpl var control: Element? /* = null */ + get() = noImpl + set(value) = noImpl var label: String? /* = null */ + get() = noImpl + set(value) = noImpl var role: String? /* = null */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -2453,33 +1471,40 @@ public external open class ImageData : TexImageSource { constructor(sw: Int, sh: Int) constructor(data: Uint8ClampedArray, sw: Int, sh: Int = noImpl) open val width: Int - get() = noImpl open val height: Int - get() = noImpl open val data: Uint8ClampedArray - get() = noImpl } public external open class Path2D() : CanvasPath { constructor(path: Path2D) : this() - constructor(paths: Array, fillRule: String = "nonzero") : this() + constructor(paths: Array, fillRule: String = noImpl) : this() constructor(d: String) : this() - fun addPath(path: Path2D, transform: dynamic = noImpl): Unit = noImpl + fun addPath(path: Path2D, transform: dynamic = noImpl): Unit + override fun closePath(): Unit + override fun moveTo(x: Double, y: Double): Unit + override fun lineTo(x: Double, y: Double): Unit + override fun quadraticCurveTo(cpx: Double, cpy: Double, x: Double, y: Double): Unit + override fun bezierCurveTo(cp1x: Double, cp1y: Double, cp2x: Double, cp2y: Double, x: Double, y: Double): Unit + override fun arcTo(x1: Double, y1: Double, x2: Double, y2: Double, radius: Double): Unit + override fun arcTo(x1: Double, y1: Double, x2: Double, y2: Double, radiusX: Double, radiusY: Double, rotation: Double): Unit + override fun rect(x: Double, y: Double, w: Double, h: Double): Unit + override fun arc(x: Double, y: Double, radius: Double, startAngle: Double, endAngle: Double, anticlockwise: Boolean /* = noImpl */): Unit + override fun ellipse(x: Double, y: Double, radiusX: Double, radiusY: Double, rotation: Double, startAngle: Double, endAngle: Double, anticlockwise: Boolean /* = noImpl */): Unit } public external abstract class Touch { open val region: String? - get() = noImpl } public external abstract class ImageBitmapRenderingContext { open val canvas: HTMLCanvasElement - get() = noImpl - fun transferFromImageBitmap(bitmap: ImageBitmap?): Unit = noImpl + fun transferFromImageBitmap(bitmap: ImageBitmap?): Unit } public external interface ImageBitmapRenderingContextSettings { var alpha: Boolean? /* = true */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -2492,13 +1517,15 @@ public inline fun ImageBitmapRenderingContextSettings(alpha: Boolean? = true): I } public external abstract class CustomElementRegistry { - fun define(name: String, constructor: () -> dynamic, options: ElementDefinitionOptions = noImpl): Unit = noImpl - fun get(name: String): Any? = noImpl - fun whenDefined(name: String): dynamic = noImpl + fun define(name: String, constructor: () -> dynamic, options: ElementDefinitionOptions = noImpl): Unit + fun get(name: String): Any? + fun whenDefined(name: String): dynamic } public external interface ElementDefinitionOptions { var extends: String? + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -2512,58 +1539,46 @@ public inline fun ElementDefinitionOptions(extends: String?): ElementDefinitionO public external interface ElementContentEditable { var contentEditable: String - get() = noImpl - set(value) = noImpl val isContentEditable: Boolean - get() = noImpl } public external abstract class DataTransfer { open var dropEffect: String - get() = noImpl - set(value) = noImpl open var effectAllowed: String - get() = noImpl - set(value) = noImpl open val items: DataTransferItemList - get() = noImpl - open val attribute: dynamic - get() = noImpl + open val types: dynamic open val files: FileList - get() = noImpl - fun setDragImage(image: Element, x: Int, y: Int): Unit = noImpl - fun getData(format: String): String = noImpl - fun setData(format: String, data: String): Unit = noImpl - fun clearData(format: String = noImpl): Unit = noImpl + fun setDragImage(image: Element, x: Int, y: Int): Unit + fun getData(format: String): String + fun setData(format: String, data: String): Unit + fun clearData(format: String = noImpl): Unit } public external abstract class DataTransferItemList { open val length: Int - get() = noImpl @nativeGetter - operator fun get(index: Int): DataTransferItem? = noImpl - fun add(data: String, type: String): DataTransferItem? = noImpl - fun add(data: File): DataTransferItem? = noImpl - fun remove(index: Int): Unit = noImpl - fun clear(): Unit = noImpl + operator fun get(index: Int): DataTransferItem? + fun add(data: String, type: String): DataTransferItem? + fun add(data: File): DataTransferItem? + fun remove(index: Int): Unit + fun clear(): Unit } public external abstract class DataTransferItem { open val kind: String - get() = noImpl open val type: String - get() = noImpl - fun getAsString(_callback: ((String) -> Unit)?): Unit = noImpl - fun getAsFile(): File? = noImpl + fun getAsString(_callback: ((String) -> Unit)?): Unit + fun getAsFile(): File? } public external open class DragEvent(type: String, eventInitDict: DragEventInit = noImpl) : MouseEvent(type, eventInitDict) { open val dataTransfer: DataTransfer? - get() = noImpl } public external interface DragEventInit : MouseEventInit { var dataTransfer: DataTransfer? /* = null */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -2603,65 +1618,43 @@ public inline fun DragEventInit(dataTransfer: DataTransfer? = null, screenX: Int public external abstract class BarProp { open val visible: Boolean - get() = noImpl } public external abstract class History { open val length: Int - get() = noImpl open var scrollRestoration: String - get() = noImpl - set(value) = noImpl open val state: Any? - get() = noImpl - fun go(delta: Int = 0): Unit = noImpl - fun back(): Unit = noImpl - fun forward(): Unit = noImpl - fun pushState(data: Any?, title: String, url: String? = null): Unit = noImpl - fun replaceState(data: Any?, title: String, url: String? = null): Unit = noImpl + fun go(delta: Int = noImpl): Unit + fun back(): Unit + fun forward(): Unit + fun pushState(data: Any?, title: String, url: String? = noImpl): Unit + fun replaceState(data: Any?, title: String, url: String? = noImpl): Unit } public external abstract class Location { open var href: String - get() = noImpl - set(value) = noImpl open val origin: String - get() = noImpl open var protocol: String - get() = noImpl - set(value) = noImpl open var host: String - get() = noImpl - set(value) = noImpl open var hostname: String - get() = noImpl - set(value) = noImpl open var port: String - get() = noImpl - set(value) = noImpl open var pathname: String - get() = noImpl - set(value) = noImpl open var search: String - get() = noImpl - set(value) = noImpl open var hash: String - get() = noImpl - set(value) = noImpl - open val attribute: dynamic - get() = noImpl - fun assign(url: String): Unit = noImpl - fun replace(url: String): Unit = noImpl - fun reload(): Unit = noImpl + open val ancestorOrigins: dynamic + fun assign(url: String): Unit + fun replace(url: String): Unit + fun reload(): Unit } public external open class PopStateEvent(type: String, eventInitDict: PopStateEventInit = noImpl) : Event(type, eventInitDict) { open val state: Any? - get() = noImpl } public external interface PopStateEventInit : EventInit { var state: Any? /* = null */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -2678,14 +1671,16 @@ public inline fun PopStateEventInit(state: Any? = null, bubbles: Boolean? = fals public external open class HashChangeEvent(type: String, eventInitDict: HashChangeEventInit = noImpl) : Event(type, eventInitDict) { open val oldURL: String - get() = noImpl open val newURL: String - get() = noImpl } public external interface HashChangeEventInit : EventInit { var oldURL: String? /* = "" */ + get() = noImpl + set(value) = noImpl var newURL: String? /* = "" */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -2703,11 +1698,12 @@ public inline fun HashChangeEventInit(oldURL: String? = "", newURL: String? = "" public external open class PageTransitionEvent(type: String, eventInitDict: PageTransitionEventInit = noImpl) : Event(type, eventInitDict) { open val persisted: Boolean - get() = noImpl } public external interface PageTransitionEventInit : EventInit { var persisted: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -2724,75 +1720,60 @@ public inline fun PageTransitionEventInit(persisted: Boolean? = false, bubbles: public external open class BeforeUnloadEvent : Event(noImpl, noImpl) { var returnValue: String - get() = noImpl - set(value) = noImpl } public external abstract class ApplicationCache : EventTarget() { open val status: Short - get() = noImpl open var onchecking: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onerror: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onnoupdate: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var ondownloading: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onprogress: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onupdateready: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var oncached: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onobsolete: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl - fun update(): Unit = noImpl - fun abort(): Unit = noImpl - fun swapCache(): Unit = noImpl + fun update(): Unit + fun abort(): Unit + fun swapCache(): Unit companion object { - val UNCACHED: Short = 0 - val IDLE: Short = 1 - val CHECKING: Short = 2 - val DOWNLOADING: Short = 3 - val UPDATEREADY: Short = 4 - val OBSOLETE: Short = 5 + val UNCACHED: Short + val IDLE: Short + val CHECKING: Short + val DOWNLOADING: Short + val UPDATEREADY: Short + val OBSOLETE: Short } } public external interface NavigatorOnLine { val onLine: Boolean - get() = noImpl } public external open class ErrorEvent(type: String, eventInitDict: ErrorEventInit = noImpl) : Event(type, eventInitDict) { open val message: String - get() = noImpl open val filename: String - get() = noImpl open val lineno: Int - get() = noImpl open val colno: Int - get() = noImpl open val error: Any? - get() = noImpl } public external interface ErrorEventInit : EventInit { var message: String? /* = "" */ + get() = noImpl + set(value) = noImpl var filename: String? /* = "" */ + get() = noImpl + set(value) = noImpl var lineno: Int? /* = 0 */ + get() = noImpl + set(value) = noImpl var colno: Int? /* = 0 */ + get() = noImpl + set(value) = noImpl var error: Any? /* = null */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -2813,14 +1794,16 @@ public inline fun ErrorEventInit(message: String? = "", filename: String? = "", public external open class PromiseRejectionEvent(type: String, eventInitDict: PromiseRejectionEventInit) : Event(type, eventInitDict) { open val promise: dynamic - get() = noImpl open val reason: Any? - get() = noImpl } public external interface PromiseRejectionEventInit : EventInit { var promise: dynamic + get() = noImpl + set(value) = noImpl var reason: Any? + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -2838,391 +1821,215 @@ public inline fun PromiseRejectionEventInit(promise: dynamic, reason: Any?, bubb public external interface GlobalEventHandlers { var onabort: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onblur: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var oncancel: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var oncanplay: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var oncanplaythrough: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onchange: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onclick: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onclose: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var oncontextmenu: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var oncuechange: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var ondblclick: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var ondrag: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var ondragend: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var ondragenter: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var ondragexit: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var ondragleave: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var ondragover: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var ondragstart: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var ondrop: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var ondurationchange: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onemptied: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onended: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onerror: ((dynamic, String, Int, Int, Any?) -> dynamic)? - get() = noImpl - set(value) = noImpl var onfocus: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var oninput: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var oninvalid: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onkeydown: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onkeypress: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onkeyup: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onload: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onloadeddata: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onloadedmetadata: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onloadend: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onloadstart: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onmousedown: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onmouseenter: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onmouseleave: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onmousemove: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onmouseout: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onmouseover: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onmouseup: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onwheel: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onpause: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onplay: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onplaying: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onprogress: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onratechange: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onreset: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onresize: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onscroll: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onseeked: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onseeking: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onselect: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onshow: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onstalled: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onsubmit: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onsuspend: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var ontimeupdate: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var ontoggle: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onvolumechange: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onwaiting: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl } public external interface WindowEventHandlers { var onafterprint: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onbeforeprint: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onbeforeunload: ((Event) -> String?)? - get() = noImpl - set(value) = noImpl var onhashchange: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onlanguagechange: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onmessage: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onoffline: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var ononline: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onpagehide: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onpageshow: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onpopstate: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onrejectionhandled: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onstorage: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onunhandledrejection: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onunload: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl } public external interface DocumentAndElementEventHandlers { var oncopy: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var oncut: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onpaste: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl } public external interface WindowOrWorkerGlobalScope { val caches: CacheStorage - get() = noImpl val origin: String - get() = noImpl - fun fetch(input: dynamic, init: RequestInit = noImpl): dynamic = noImpl - fun btoa(data: String): String = noImpl - fun atob(data: String): String = noImpl - fun setTimeout(handler: dynamic, timeout: Int = 0, vararg arguments: Any?): Int = noImpl - fun clearTimeout(handle: Int = 0): Unit = noImpl - fun setInterval(handler: dynamic, timeout: Int = 0, vararg arguments: Any?): Int = noImpl - fun clearInterval(handle: Int = 0): Unit = noImpl - fun createImageBitmap(image: dynamic, options: ImageBitmapOptions = noImpl): dynamic = noImpl - fun createImageBitmap(image: dynamic, sx: Int, sy: Int, sw: Int, sh: Int, options: ImageBitmapOptions = noImpl): dynamic = noImpl + fun fetch(input: dynamic, init: RequestInit = noImpl): dynamic + fun btoa(data: String): String + fun atob(data: String): String + fun setTimeout(handler: dynamic, timeout: Int = noImpl, vararg arguments: Any?): Int + fun clearTimeout(handle: Int = noImpl): Unit + fun setInterval(handler: dynamic, timeout: Int = noImpl, vararg arguments: Any?): Int + fun clearInterval(handle: Int = noImpl): Unit + fun createImageBitmap(image: dynamic, options: ImageBitmapOptions = noImpl): dynamic + fun createImageBitmap(image: dynamic, sx: Int, sy: Int, sw: Int, sh: Int, options: ImageBitmapOptions = noImpl): dynamic } public external abstract class Navigator : NavigatorID, NavigatorLanguage, NavigatorOnLine, NavigatorContentUtils, NavigatorCookies, NavigatorPlugins, NavigatorConcurrentHardware { open val serviceWorker: ServiceWorkerContainer - get() = noImpl - fun vibrate(pattern: dynamic): Boolean = noImpl + fun vibrate(pattern: dynamic): Boolean } public external interface NavigatorID { val appCodeName: String - get() = noImpl val appName: String - get() = noImpl val appVersion: String - get() = noImpl val platform: String - get() = noImpl val product: String - get() = noImpl val productSub: String - get() = noImpl val userAgent: String - get() = noImpl val vendor: String - get() = noImpl val vendorSub: String - get() = noImpl val oscpu: String - get() = noImpl - fun taintEnabled(): Boolean = noImpl + fun taintEnabled(): Boolean } public external interface NavigatorLanguage { val language: String - get() = noImpl - val attribute: dynamic - get() = noImpl + val languages: dynamic } public external interface NavigatorContentUtils { - fun registerProtocolHandler(scheme: String, url: String, title: String): Unit = noImpl - fun registerContentHandler(mimeType: String, url: String, title: String): Unit = noImpl - fun isProtocolHandlerRegistered(scheme: String, url: String): String = noImpl - fun isContentHandlerRegistered(mimeType: String, url: String): String = noImpl - fun unregisterProtocolHandler(scheme: String, url: String): Unit = noImpl - fun unregisterContentHandler(mimeType: String, url: String): Unit = noImpl + fun registerProtocolHandler(scheme: String, url: String, title: String): Unit + fun registerContentHandler(mimeType: String, url: String, title: String): Unit + fun isProtocolHandlerRegistered(scheme: String, url: String): String + fun isContentHandlerRegistered(mimeType: String, url: String): String + fun unregisterProtocolHandler(scheme: String, url: String): Unit + fun unregisterContentHandler(mimeType: String, url: String): Unit } public external interface NavigatorCookies { val cookieEnabled: Boolean - get() = noImpl } public external interface NavigatorPlugins { val plugins: PluginArray - get() = noImpl val mimeTypes: MimeTypeArray - get() = noImpl - fun javaEnabled(): Boolean = noImpl + fun javaEnabled(): Boolean } public external abstract class PluginArray { open val length: Int - get() = noImpl - fun refresh(reload: Boolean = false): Unit = noImpl - fun item(index: Int): Plugin? = noImpl + fun refresh(reload: Boolean = noImpl): Unit + fun item(index: Int): Plugin? @nativeGetter - operator fun get(index: Int): Plugin? = noImpl - fun namedItem(name: String): Plugin? = noImpl + operator fun get(index: Int): Plugin? + fun namedItem(name: String): Plugin? @nativeGetter - operator fun get(name: String): Plugin? = noImpl + operator fun get(name: String): Plugin? } public external abstract class MimeTypeArray { open val length: Int - get() = noImpl - fun item(index: Int): MimeType? = noImpl + fun item(index: Int): MimeType? @nativeGetter - operator fun get(index: Int): MimeType? = noImpl - fun namedItem(name: String): MimeType? = noImpl + operator fun get(index: Int): MimeType? + fun namedItem(name: String): MimeType? @nativeGetter - operator fun get(name: String): MimeType? = noImpl + operator fun get(name: String): MimeType? } public external abstract class Plugin { open val name: String - get() = noImpl open val description: String - get() = noImpl open val filename: String - get() = noImpl open val length: Int - get() = noImpl - fun item(index: Int): MimeType? = noImpl + fun item(index: Int): MimeType? @nativeGetter - operator fun get(index: Int): MimeType? = noImpl - fun namedItem(name: String): MimeType? = noImpl + operator fun get(index: Int): MimeType? + fun namedItem(name: String): MimeType? @nativeGetter - operator fun get(name: String): MimeType? = noImpl + operator fun get(name: String): MimeType? } public external abstract class MimeType { open val type: String - get() = noImpl open val description: String - get() = noImpl open val suffixes: String - get() = noImpl open val enabledPlugin: Plugin - get() = noImpl } public external abstract class ImageBitmap : TexImageSource { open val width: Int - get() = noImpl open val height: Int - get() = noImpl - fun close(): Unit = noImpl + fun close(): Unit } public external interface ImageBitmapOptions { var imageOrientation: String? /* = "none" */ + get() = noImpl + set(value) = noImpl var premultiplyAlpha: String? /* = "default" */ + get() = noImpl + set(value) = noImpl var colorSpaceConversion: String? /* = "default" */ + get() = noImpl + set(value) = noImpl var resizeWidth: Int? + get() = noImpl + set(value) = noImpl var resizeHeight: Int? + get() = noImpl + set(value) = noImpl var resizeQuality: String? /* = "low" */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -3241,24 +2048,29 @@ public inline fun ImageBitmapOptions(imageOrientation: String? = "none", premult public external open class MessageEvent(type: String, eventInitDict: MessageEventInit = noImpl) : Event(type, eventInitDict) { open val data: Any? - get() = noImpl open val origin: String - get() = noImpl open val lastEventId: String - get() = noImpl open val source: UnionMessagePortOrWindow? - get() = noImpl - open val MessagePort: dynamic - get() = noImpl - fun initMessageEvent(type: String, bubbles: Boolean, cancelable: Boolean, data: Any?, origin: String, lastEventId: String, source: UnionMessagePortOrWindow?, ports: Array): Unit = noImpl + open val ports: dynamic + fun initMessageEvent(type: String, bubbles: Boolean, cancelable: Boolean, data: Any?, origin: String, lastEventId: String, source: UnionMessagePortOrWindow?, ports: Array): Unit } public external interface MessageEventInit : EventInit { var data: Any? /* = null */ + get() = noImpl + set(value) = noImpl var origin: String? /* = "" */ + get() = noImpl + set(value) = noImpl var lastEventId: String? /* = "" */ + get() = noImpl + set(value) = noImpl var source: UnionMessagePortOrWindow? /* = null */ + get() = noImpl + set(value) = noImpl var ports: Array? /* = arrayOf() */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -3279,31 +2091,24 @@ public inline fun MessageEventInit(data: Any? = null, origin: String? = "", last public external open class EventSource(url: String, eventSourceInitDict: EventSourceInit = noImpl) : EventTarget() { open val url: String - get() = noImpl open val withCredentials: Boolean - get() = noImpl open val readyState: Short - get() = noImpl var onopen: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onmessage: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onerror: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl - fun close(): Unit = noImpl + fun close(): Unit companion object { - val CONNECTING: Short = 0 - val OPEN: Short = 1 - val CLOSED: Short = 2 + val CONNECTING: Short + val OPEN: Short + val CLOSED: Short } } public external interface EventSourceInit { var withCredentials: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -3315,59 +2120,47 @@ public inline fun EventSourceInit(withCredentials: Boolean? = false): EventSourc return o } -public external open class WebSocket(url: String, protocols: dynamic = arrayOf()) : EventTarget() { +public external open class WebSocket(url: String, protocols: dynamic = noImpl) : EventTarget() { open val url: String - get() = noImpl open val readyState: Short - get() = noImpl open val bufferedAmount: Int - get() = noImpl var onopen: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onerror: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onclose: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open val extensions: String - get() = noImpl open val protocol: String - get() = noImpl var onmessage: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var binaryType: String - get() = noImpl - set(value) = noImpl - fun close(code: Short = noImpl, reason: String = noImpl): Unit = noImpl - fun send(data: String): Unit = noImpl - fun send(data: Blob): Unit = noImpl - fun send(data: ArrayBuffer): Unit = noImpl - fun send(data: ArrayBufferView): Unit = noImpl + fun close(code: Short = noImpl, reason: String = noImpl): Unit + fun send(data: String): Unit + fun send(data: Blob): Unit + fun send(data: ArrayBuffer): Unit + fun send(data: ArrayBufferView): Unit companion object { - val CONNECTING: Short = 0 - val OPEN: Short = 1 - val CLOSING: Short = 2 - val CLOSED: Short = 3 + val CONNECTING: Short + val OPEN: Short + val CLOSING: Short + val CLOSED: Short } } public external open class CloseEvent(type: String, eventInitDict: CloseEventInit = noImpl) : Event(type, eventInitDict) { open val wasClean: Boolean - get() = noImpl open val code: Short - get() = noImpl open val reason: String - get() = noImpl } public external interface CloseEventInit : EventInit { var wasClean: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var code: Short? /* = 0 */ + get() = noImpl + set(value) = noImpl var reason: String? /* = "" */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -3386,94 +2179,67 @@ public inline fun CloseEventInit(wasClean: Boolean? = false, code: Short? = 0, r public external open class MessageChannel { open val port1: MessagePort - get() = noImpl open val port2: MessagePort - get() = noImpl } public external abstract class MessagePort : EventTarget(), UnionMessagePortOrWindow, UnionMessagePortOrServiceWorker, UnionClientOrMessagePortOrServiceWorker { open var onmessage: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl - fun postMessage(message: Any?, transfer: Array = arrayOf()): Unit = noImpl - fun start(): Unit = noImpl - fun close(): Unit = noImpl + fun postMessage(message: Any?, transfer: Array = noImpl): Unit + fun start(): Unit + fun close(): Unit } public external open class BroadcastChannel(name: String) : EventTarget() { open val name: String - get() = noImpl var onmessage: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl - fun postMessage(message: Any?): Unit = noImpl - fun close(): Unit = noImpl + fun postMessage(message: Any?): Unit + fun close(): Unit } public external abstract class WorkerGlobalScope : EventTarget(), WindowOrWorkerGlobalScope, GlobalPerformance { open val self: WorkerGlobalScope - get() = noImpl open val location: WorkerLocation - get() = noImpl open val navigator: WorkerNavigator - get() = noImpl open var onerror: ((dynamic, String, Int, Int, Any?) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onlanguagechange: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onoffline: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var ononline: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onrejectionhandled: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onunhandledrejection: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl - fun importScripts(vararg urls: String): Unit = noImpl + fun importScripts(vararg urls: String): Unit } public external abstract class DedicatedWorkerGlobalScope : WorkerGlobalScope() { open var onmessage: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl - fun postMessage(message: Any?, transfer: Array = arrayOf()): Unit = noImpl - fun close(): Unit = noImpl + fun postMessage(message: Any?, transfer: Array = noImpl): Unit + fun close(): Unit } public external abstract class SharedWorkerGlobalScope : WorkerGlobalScope() { open val name: String - get() = noImpl open val applicationCache: ApplicationCache - get() = noImpl open var onconnect: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl - fun close(): Unit = noImpl + fun close(): Unit } public external interface AbstractWorker { var onerror: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl } public external open class Worker(scriptURL: String, options: WorkerOptions = noImpl) : EventTarget(), AbstractWorker { var onmessage: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl - fun terminate(): Unit = noImpl - fun postMessage(message: Any?, transfer: Array = arrayOf()): Unit = noImpl + override var onerror: ((Event) -> dynamic)? + fun terminate(): Unit + fun postMessage(message: Any?, transfer: Array = noImpl): Unit } public external interface WorkerOptions { var type: String? /* = "classic" */ + get() = noImpl + set(value) = noImpl var credentials: String? /* = "omit" */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -3486,86 +2252,76 @@ public inline fun WorkerOptions(type: String? = "classic", credentials: String? return o } -public external open class SharedWorker(scriptURL: String, name: String = "", options: WorkerOptions = noImpl) : EventTarget(), AbstractWorker { +public external open class SharedWorker(scriptURL: String, name: String = noImpl, options: WorkerOptions = noImpl) : EventTarget(), AbstractWorker { open val port: MessagePort - get() = noImpl + override var onerror: ((Event) -> dynamic)? } public external interface NavigatorConcurrentHardware { val hardwareConcurrency: Int - get() = noImpl } public external abstract class WorkerNavigator : NavigatorID, NavigatorLanguage, NavigatorOnLine, NavigatorConcurrentHardware { open val serviceWorker: ServiceWorkerContainer - get() = noImpl } public external abstract class WorkerLocation { open var href: String - get() = noImpl - set(value) = noImpl open val origin: String - get() = noImpl open val protocol: String - get() = noImpl open val host: String - get() = noImpl open val hostname: String - get() = noImpl open val port: String - get() = noImpl open val pathname: String - get() = noImpl open val search: String - get() = noImpl open val hash: String - get() = noImpl } public external abstract class Storage { open val length: Int - get() = noImpl - fun key(index: Int): String? = noImpl - fun getItem(key: String): String? = noImpl + fun key(index: Int): String? + fun getItem(key: String): String? @nativeGetter - operator fun get(key: String): String? = noImpl - fun setItem(key: String, value: String): Unit = noImpl + operator fun get(key: String): String? + fun setItem(key: String, value: String): Unit @nativeSetter - operator fun set(key: String, value: String): Unit = noImpl - fun removeItem(key: String): Unit = noImpl - fun clear(): Unit = noImpl + operator fun set(key: String, value: String): Unit + fun removeItem(key: String): Unit + fun clear(): Unit } public external interface WindowSessionStorage { val sessionStorage: Storage - get() = noImpl } public external interface WindowLocalStorage { val localStorage: Storage - get() = noImpl } public external open class StorageEvent(type: String, eventInitDict: StorageEventInit = noImpl) : Event(type, eventInitDict) { open val key: String? - get() = noImpl open val oldValue: String? - get() = noImpl open val newValue: String? - get() = noImpl open val url: String - get() = noImpl open val storageArea: Storage? - get() = noImpl } public external interface StorageEventInit : EventInit { var key: String? /* = null */ + get() = noImpl + set(value) = noImpl var oldValue: String? /* = null */ + get() = noImpl + set(value) = noImpl var newValue: String? /* = null */ + get() = noImpl + set(value) = noImpl var url: String? /* = "" */ + get() = noImpl + set(value) = noImpl var storageArea: Storage? /* = null */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -3586,154 +2342,80 @@ public inline fun StorageEventInit(key: String? = null, oldValue: String? = null public external abstract class HTMLAppletElement : HTMLElement() { open var align: String - get() = noImpl - set(value) = noImpl open var alt: String - get() = noImpl - set(value) = noImpl open var archive: String - get() = noImpl - set(value) = noImpl open var code: String - get() = noImpl - set(value) = noImpl open var codeBase: String - get() = noImpl - set(value) = noImpl open var height: String - get() = noImpl - set(value) = noImpl open var hspace: Int - get() = noImpl - set(value) = noImpl open var name: String - get() = noImpl - set(value) = noImpl open var _object: String - get() = noImpl - set(value) = noImpl open var vspace: Int - get() = noImpl - set(value) = noImpl open var width: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLMarqueeElement : HTMLElement() { open var behavior: String - get() = noImpl - set(value) = noImpl open var bgColor: String - get() = noImpl - set(value) = noImpl open var direction: String - get() = noImpl - set(value) = noImpl open var height: String - get() = noImpl - set(value) = noImpl open var hspace: Int - get() = noImpl - set(value) = noImpl open var loop: Int - get() = noImpl - set(value) = noImpl open var scrollAmount: Int - get() = noImpl - set(value) = noImpl open var scrollDelay: Int - get() = noImpl - set(value) = noImpl open var trueSpeed: Boolean - get() = noImpl - set(value) = noImpl open var vspace: Int - get() = noImpl - set(value) = noImpl open var width: String - get() = noImpl - set(value) = noImpl open var onbounce: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onfinish: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onstart: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl - fun start(): Unit = noImpl - fun stop(): Unit = noImpl + fun start(): Unit + fun stop(): Unit } public external abstract class HTMLFrameSetElement : HTMLElement(), WindowEventHandlers { open var cols: String - get() = noImpl - set(value) = noImpl open var rows: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLFrameElement : HTMLElement() { open var name: String - get() = noImpl - set(value) = noImpl open var scrolling: String - get() = noImpl - set(value) = noImpl open var src: String - get() = noImpl - set(value) = noImpl open var frameBorder: String - get() = noImpl - set(value) = noImpl open var longDesc: String - get() = noImpl - set(value) = noImpl open var noResize: Boolean - get() = noImpl - set(value) = noImpl open val contentDocument: Document? - get() = noImpl open val contentWindow: Window? - get() = noImpl open var marginHeight: String - get() = noImpl - set(value) = noImpl open var marginWidth: String - get() = noImpl - set(value) = noImpl } public external abstract class HTMLDirectoryElement : HTMLElement() { open var compact: Boolean - get() = noImpl - set(value) = noImpl } public external abstract class HTMLFontElement : HTMLElement() { open var color: String - get() = noImpl - set(value) = noImpl open var face: String - get() = noImpl - set(value) = noImpl open var size: String - get() = noImpl - set(value) = noImpl } public external interface External { - fun AddSearchProvider(): Unit = noImpl - fun IsSearchProviderInstalled(): Unit = noImpl + fun AddSearchProvider(): Unit + fun IsSearchProviderInstalled(): Unit } public external interface EventInit { var bubbles: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var cancelable: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var composed: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -3749,12 +2431,13 @@ public inline fun EventInit(bubbles: Boolean? = false, cancelable: Boolean? = fa public external open class CustomEvent(type: String, eventInitDict: CustomEventInit = noImpl) : Event(type, eventInitDict) { open val detail: Any? - get() = noImpl - fun initCustomEvent(type: String, bubbles: Boolean, cancelable: Boolean, detail: Any?): Unit = noImpl + fun initCustomEvent(type: String, bubbles: Boolean, cancelable: Boolean, detail: Any?): Unit } public external interface CustomEventInit : EventInit { var detail: Any? /* = null */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -3771,6 +2454,8 @@ public inline fun CustomEventInit(detail: Any? = null, bubbles: Boolean? = false public external interface EventListenerOptions { var capture: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -3784,7 +2469,11 @@ public inline fun EventListenerOptions(capture: Boolean? = false): EventListener public external interface AddEventListenerOptions : EventListenerOptions { var passive: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var once: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -3799,81 +2488,85 @@ public inline fun AddEventListenerOptions(passive: Boolean? = false, once: Boole } public external interface NonElementParentNode { - fun getElementById(elementId: String): Element? = noImpl + fun getElementById(elementId: String): Element? } public external interface DocumentOrShadowRoot { val fullscreenElement: Element? - get() = noImpl } public external interface ParentNode { val children: HTMLCollection - get() = noImpl val firstElementChild: Element? - get() = noImpl val lastElementChild: Element? - get() = noImpl val childElementCount: Int - get() = noImpl - fun prepend(vararg nodes: dynamic): Unit = noImpl - fun append(vararg nodes: dynamic): Unit = noImpl - fun querySelector(selectors: String): Element? = noImpl - fun querySelectorAll(selectors: String): NodeList = noImpl + fun prepend(vararg nodes: dynamic): Unit + fun append(vararg nodes: dynamic): Unit + fun querySelector(selectors: String): Element? + fun querySelectorAll(selectors: String): NodeList } public external interface NonDocumentTypeChildNode { val previousElementSibling: Element? - get() = noImpl val nextElementSibling: Element? - get() = noImpl } public external interface ChildNode { - fun before(vararg nodes: dynamic): Unit = noImpl - fun after(vararg nodes: dynamic): Unit = noImpl - fun replaceWith(vararg nodes: dynamic): Unit = noImpl - fun remove(): Unit = noImpl + fun before(vararg nodes: dynamic): Unit + fun after(vararg nodes: dynamic): Unit + fun replaceWith(vararg nodes: dynamic): Unit + fun remove(): Unit } public external interface Slotable { val assignedSlot: HTMLSlotElement? - get() = noImpl } public external abstract class NodeList { open val length: Int - get() = noImpl - fun item(index: Int): Node? = noImpl + fun item(index: Int): Node? @nativeGetter - operator fun get(index: Int): Node? = noImpl + operator fun get(index: Int): Node? } public external abstract class HTMLCollection : UnionElementOrHTMLCollection { open val length: Int - get() = noImpl - fun item(index: Int): Element? = noImpl + fun item(index: Int): Element? @nativeGetter - operator fun get(index: Int): Element? = noImpl - fun namedItem(name: String): Element? = noImpl + operator fun get(index: Int): Element? + fun namedItem(name: String): Element? @nativeGetter - operator fun get(name: String): Element? = noImpl + operator fun get(name: String): Element? } public external open class MutationObserver(callback: (Array, MutationObserver) -> Unit) { - fun observe(target: Node, options: MutationObserverInit = noImpl): Unit = noImpl - fun disconnect(): Unit = noImpl - fun takeRecords(): Array = noImpl + fun observe(target: Node, options: MutationObserverInit = noImpl): Unit + fun disconnect(): Unit + fun takeRecords(): Array } public external interface MutationObserverInit { var childList: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var attributes: Boolean? + get() = noImpl + set(value) = noImpl var characterData: Boolean? + get() = noImpl + set(value) = noImpl var subtree: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var attributeOldValue: Boolean? + get() = noImpl + set(value) = noImpl var characterDataOldValue: Boolean? + get() = noImpl + set(value) = noImpl var attributeFilter: Array? + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -3893,96 +2586,73 @@ public inline fun MutationObserverInit(childList: Boolean? = false, attributes: public external abstract class MutationRecord { open val type: String - get() = noImpl open val target: Node - get() = noImpl open val addedNodes: NodeList - get() = noImpl open val removedNodes: NodeList - get() = noImpl open val previousSibling: Node? - get() = noImpl open val nextSibling: Node? - get() = noImpl open val attributeName: String? - get() = noImpl open val attributeNamespace: String? - get() = noImpl open val oldValue: String? - get() = noImpl } public external abstract class Node : EventTarget() { open val nodeType: Short - get() = noImpl open val nodeName: String - get() = noImpl open val baseURI: String - get() = noImpl open val isConnected: Boolean - get() = noImpl open val ownerDocument: Document? - get() = noImpl open val parentNode: Node? - get() = noImpl open val parentElement: Element? - get() = noImpl open val childNodes: NodeList - get() = noImpl open val firstChild: Node? - get() = noImpl open val lastChild: Node? - get() = noImpl open val previousSibling: Node? - get() = noImpl open val nextSibling: Node? - get() = noImpl open var nodeValue: String? - get() = noImpl - set(value) = noImpl open var textContent: String? - get() = noImpl - set(value) = noImpl - fun getRootNode(options: GetRootNodeOptions = noImpl): Node = noImpl - fun hasChildNodes(): Boolean = noImpl - fun normalize(): Unit = noImpl - fun cloneNode(deep: Boolean = false): Node = noImpl - fun isEqualNode(otherNode: Node?): Boolean = noImpl - fun isSameNode(otherNode: Node?): Boolean = noImpl - fun compareDocumentPosition(other: Node): Short = noImpl - fun contains(other: Node?): Boolean = noImpl - fun lookupPrefix(namespace: String?): String? = noImpl - fun lookupNamespaceURI(prefix: String?): String? = noImpl - fun isDefaultNamespace(namespace: String?): Boolean = noImpl - fun insertBefore(node: Node, child: Node?): Node = noImpl - fun appendChild(node: Node): Node = noImpl - fun replaceChild(node: Node, child: Node): Node = noImpl - fun removeChild(child: Node): Node = noImpl + fun getRootNode(options: GetRootNodeOptions = noImpl): Node + fun hasChildNodes(): Boolean + fun normalize(): Unit + fun cloneNode(deep: Boolean = noImpl): Node + fun isEqualNode(otherNode: Node?): Boolean + fun isSameNode(otherNode: Node?): Boolean + fun compareDocumentPosition(other: Node): Short + fun contains(other: Node?): Boolean + fun lookupPrefix(namespace: String?): String? + fun lookupNamespaceURI(prefix: String?): String? + fun isDefaultNamespace(namespace: String?): Boolean + fun insertBefore(node: Node, child: Node?): Node + fun appendChild(node: Node): Node + fun replaceChild(node: Node, child: Node): Node + fun removeChild(child: Node): Node companion object { - val ELEMENT_NODE: Short = 1 - val ATTRIBUTE_NODE: Short = 2 - val TEXT_NODE: Short = 3 - val CDATA_SECTION_NODE: Short = 4 - val ENTITY_REFERENCE_NODE: Short = 5 - val ENTITY_NODE: Short = 6 - val PROCESSING_INSTRUCTION_NODE: Short = 7 - val COMMENT_NODE: Short = 8 - val DOCUMENT_NODE: Short = 9 - val DOCUMENT_TYPE_NODE: Short = 10 - val DOCUMENT_FRAGMENT_NODE: Short = 11 - val NOTATION_NODE: Short = 12 - val DOCUMENT_POSITION_DISCONNECTED: Short = 0x01 - val DOCUMENT_POSITION_PRECEDING: Short = 0x02 - val DOCUMENT_POSITION_FOLLOWING: Short = 0x04 - val DOCUMENT_POSITION_CONTAINS: Short = 0x08 - val DOCUMENT_POSITION_CONTAINED_BY: Short = 0x10 - val DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: Short = 0x20 + val ELEMENT_NODE: Short + val ATTRIBUTE_NODE: Short + val TEXT_NODE: Short + val CDATA_SECTION_NODE: Short + val ENTITY_REFERENCE_NODE: Short + val ENTITY_NODE: Short + val PROCESSING_INSTRUCTION_NODE: Short + val COMMENT_NODE: Short + val DOCUMENT_NODE: Short + val DOCUMENT_TYPE_NODE: Short + val DOCUMENT_FRAGMENT_NODE: Short + val NOTATION_NODE: Short + val DOCUMENT_POSITION_DISCONNECTED: Short + val DOCUMENT_POSITION_PRECEDING: Short + val DOCUMENT_POSITION_FOLLOWING: Short + val DOCUMENT_POSITION_CONTAINS: Short + val DOCUMENT_POSITION_CONTAINED_BY: Short + val DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: Short } } public external interface GetRootNodeOptions { var composed: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -3995,10 +2665,21 @@ public inline fun GetRootNodeOptions(composed: Boolean? = false): GetRootNodeOpt } public external open class XMLDocument : Document() { + override fun getElementById(elementId: String): Element? + override fun prepend(vararg nodes: dynamic): Unit + override fun append(vararg nodes: dynamic): Unit + override fun querySelector(selectors: String): Element? + override fun querySelectorAll(selectors: String): NodeList + override fun getBoxQuads(options: BoxQuadOptions /* = noImpl */): Array + override fun convertQuadFromNode(quad: dynamic, from: dynamic, options: ConvertCoordinateOptions /* = noImpl */): DOMQuad + override fun convertRectFromNode(rect: DOMRectReadOnly, from: dynamic, options: ConvertCoordinateOptions /* = noImpl */): DOMQuad + override fun convertPointFromNode(point: DOMPointInit, from: dynamic, options: ConvertCoordinateOptions /* = noImpl */): DOMPoint } public external interface ElementCreationOptions { @JsName("is") var is_: String? + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -4011,119 +2692,104 @@ public inline fun ElementCreationOptions(is_: String?): ElementCreationOptions { } public external abstract class DOMImplementation { - fun createDocumentType(qualifiedName: String, publicId: String, systemId: String): DocumentType = noImpl - fun createDocument(namespace: String?, qualifiedName: String, doctype: DocumentType? = null): XMLDocument = noImpl - fun createHTMLDocument(title: String = noImpl): Document = noImpl - fun hasFeature(): Boolean = noImpl + fun createDocumentType(qualifiedName: String, publicId: String, systemId: String): DocumentType + fun createDocument(namespace: String?, qualifiedName: String, doctype: DocumentType? = noImpl): XMLDocument + fun createHTMLDocument(title: String = noImpl): Document + fun hasFeature(): Boolean } public external abstract class DocumentType : Node(), ChildNode { open val name: String - get() = noImpl open val publicId: String - get() = noImpl open val systemId: String - get() = noImpl } public external open class DocumentFragment : Node(), NonElementParentNode, ParentNode { + override val children: HTMLCollection + override val firstElementChild: Element? + override val lastElementChild: Element? + override val childElementCount: Int + override fun getElementById(elementId: String): Element? + override fun prepend(vararg nodes: dynamic): Unit + override fun append(vararg nodes: dynamic): Unit + override fun querySelector(selectors: String): Element? + override fun querySelectorAll(selectors: String): NodeList } public external open class ShadowRoot : DocumentFragment(), DocumentOrShadowRoot { open val mode: String - get() = noImpl open val host: Element - get() = noImpl + override val fullscreenElement: Element? + override fun getElementById(elementId: String): Element? + override fun prepend(vararg nodes: dynamic): Unit + override fun append(vararg nodes: dynamic): Unit + override fun querySelector(selectors: String): Element? + override fun querySelectorAll(selectors: String): NodeList } public external abstract class Element : Node(), ParentNode, NonDocumentTypeChildNode, ChildNode, Slotable, GeometryUtils, UnionElementOrProcessingInstruction, UnionElementOrHTMLCollection, UnionElementOrRadioNodeList, UnionElementOrMouseEvent { open var innerHTML: String - get() = noImpl - set(value) = noImpl open var outerHTML: String - get() = noImpl - set(value) = noImpl open val namespaceURI: String? - get() = noImpl open val prefix: String? - get() = noImpl open val localName: String - get() = noImpl open val tagName: String - get() = noImpl open var id: String - get() = noImpl - set(value) = noImpl open var className: String - get() = noImpl - set(value) = noImpl open val classList: DOMTokenList - get() = noImpl open var slot: String - get() = noImpl - set(value) = noImpl open val attributes: NamedNodeMap - get() = noImpl open val shadowRoot: ShadowRoot? - get() = noImpl open var scrollTop: Double - get() = noImpl - set(value) = noImpl open var scrollLeft: Double - get() = noImpl - set(value) = noImpl open val scrollWidth: Int - get() = noImpl open val scrollHeight: Int - get() = noImpl open val clientTop: Int - get() = noImpl open val clientLeft: Int - get() = noImpl open val clientWidth: Int - get() = noImpl open val clientHeight: Int - get() = noImpl - fun requestFullscreen(): dynamic = noImpl - fun insertAdjacentHTML(position: String, text: String): Unit = noImpl - fun hasAttributes(): Boolean = noImpl - fun getAttributeNames(): Array = noImpl - fun getAttribute(qualifiedName: String): String? = noImpl - fun getAttributeNS(namespace: String?, localName: String): String? = noImpl - fun setAttribute(qualifiedName: String, value: String): Unit = noImpl - fun setAttributeNS(namespace: String?, qualifiedName: String, value: String): Unit = noImpl - fun removeAttribute(qualifiedName: String): Unit = noImpl - fun removeAttributeNS(namespace: String?, localName: String): Unit = noImpl - fun hasAttribute(qualifiedName: String): Boolean = noImpl - fun hasAttributeNS(namespace: String?, localName: String): Boolean = noImpl - fun getAttributeNode(qualifiedName: String): Attr? = noImpl - fun getAttributeNodeNS(namespace: String?, localName: String): Attr? = noImpl - fun setAttributeNode(attr: Attr): Attr? = noImpl - fun setAttributeNodeNS(attr: Attr): Attr? = noImpl - fun removeAttributeNode(attr: Attr): Attr = noImpl - fun attachShadow(init: ShadowRootInit): ShadowRoot = noImpl - fun closest(selectors: String): Element? = noImpl - fun matches(selectors: String): Boolean = noImpl - fun webkitMatchesSelector(selectors: String): Boolean = noImpl - fun getElementsByTagName(qualifiedName: String): HTMLCollection = noImpl - fun getElementsByTagNameNS(namespace: String?, localName: String): HTMLCollection = noImpl - fun getElementsByClassName(classNames: String): HTMLCollection = noImpl - fun insertAdjacentElement(where: String, element: Element): Element? = noImpl - fun insertAdjacentText(where: String, data: String): Unit = noImpl - fun getClientRects(): Array = noImpl - fun getBoundingClientRect(): DOMRect = noImpl - fun scrollIntoView(): Unit = noImpl - fun scrollIntoView(arg: dynamic): Unit = noImpl - fun scroll(options: ScrollToOptions = noImpl): Unit = noImpl - fun scroll(x: Double, y: Double): Unit = noImpl - fun scrollTo(options: ScrollToOptions = noImpl): Unit = noImpl - fun scrollTo(x: Double, y: Double): Unit = noImpl - fun scrollBy(options: ScrollToOptions = noImpl): Unit = noImpl - fun scrollBy(x: Double, y: Double): Unit = noImpl + fun requestFullscreen(): dynamic + fun insertAdjacentHTML(position: String, text: String): Unit + fun hasAttributes(): Boolean + fun getAttributeNames(): Array + fun getAttribute(qualifiedName: String): String? + fun getAttributeNS(namespace: String?, localName: String): String? + fun setAttribute(qualifiedName: String, value: String): Unit + fun setAttributeNS(namespace: String?, qualifiedName: String, value: String): Unit + fun removeAttribute(qualifiedName: String): Unit + fun removeAttributeNS(namespace: String?, localName: String): Unit + fun hasAttribute(qualifiedName: String): Boolean + fun hasAttributeNS(namespace: String?, localName: String): Boolean + fun getAttributeNode(qualifiedName: String): Attr? + fun getAttributeNodeNS(namespace: String?, localName: String): Attr? + fun setAttributeNode(attr: Attr): Attr? + fun setAttributeNodeNS(attr: Attr): Attr? + fun removeAttributeNode(attr: Attr): Attr + fun attachShadow(init: ShadowRootInit): ShadowRoot + fun closest(selectors: String): Element? + fun matches(selectors: String): Boolean + fun webkitMatchesSelector(selectors: String): Boolean + fun getElementsByTagName(qualifiedName: String): HTMLCollection + fun getElementsByTagNameNS(namespace: String?, localName: String): HTMLCollection + fun getElementsByClassName(classNames: String): HTMLCollection + fun insertAdjacentElement(where: String, element: Element): Element? + fun insertAdjacentText(where: String, data: String): Unit + fun getClientRects(): Array + fun getBoundingClientRect(): DOMRect + fun scrollIntoView(): Unit + fun scrollIntoView(arg: dynamic): Unit + fun scroll(options: ScrollToOptions = noImpl): Unit + fun scroll(x: Double, y: Double): Unit + fun scrollTo(options: ScrollToOptions = noImpl): Unit + fun scrollTo(x: Double, y: Double): Unit + fun scrollBy(options: ScrollToOptions = noImpl): Unit + fun scrollBy(x: Double, y: Double): Unit } public external interface ShadowRootInit { var mode: String? + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -4137,222 +2803,210 @@ public inline fun ShadowRootInit(mode: String?): ShadowRootInit { public external abstract class NamedNodeMap { open val length: Int - get() = noImpl - fun item(index: Int): Attr? = noImpl + fun item(index: Int): Attr? @nativeGetter - operator fun get(index: Int): Attr? = noImpl - fun getNamedItem(qualifiedName: String): Attr? = noImpl + operator fun get(index: Int): Attr? + fun getNamedItem(qualifiedName: String): Attr? @nativeGetter - operator fun get(qualifiedName: String): Attr? = noImpl - fun getNamedItemNS(namespace: String?, localName: String): Attr? = noImpl - fun setNamedItem(attr: Attr): Attr? = noImpl - fun setNamedItemNS(attr: Attr): Attr? = noImpl - fun removeNamedItem(qualifiedName: String): Attr = noImpl - fun removeNamedItemNS(namespace: String?, localName: String): Attr = noImpl + operator fun get(qualifiedName: String): Attr? + fun getNamedItemNS(namespace: String?, localName: String): Attr? + fun setNamedItem(attr: Attr): Attr? + fun setNamedItemNS(attr: Attr): Attr? + fun removeNamedItem(qualifiedName: String): Attr + fun removeNamedItemNS(namespace: String?, localName: String): Attr } public external abstract class Attr : Node() { open val namespaceURI: String? - get() = noImpl open val prefix: String? - get() = noImpl open val localName: String - get() = noImpl open val name: String - get() = noImpl open var value: String - get() = noImpl - set(value) = noImpl open val ownerElement: Element? - get() = noImpl open val specified: Boolean - get() = noImpl } public external abstract class CharacterData : Node(), NonDocumentTypeChildNode, ChildNode { open var data: String - get() = noImpl - set(value) = noImpl open val length: Int - get() = noImpl - fun substringData(offset: Int, count: Int): String = noImpl - fun appendData(data: String): Unit = noImpl - fun insertData(offset: Int, data: String): Unit = noImpl - fun deleteData(offset: Int, count: Int): Unit = noImpl - fun replaceData(offset: Int, count: Int, data: String): Unit = noImpl + fun substringData(offset: Int, count: Int): String + fun appendData(data: String): Unit + fun insertData(offset: Int, data: String): Unit + fun deleteData(offset: Int, count: Int): Unit + fun replaceData(offset: Int, count: Int, data: String): Unit } -public external open class Text(data: String = "") : CharacterData(), Slotable, GeometryUtils { +public external open class Text(data: String = noImpl) : CharacterData(), Slotable, GeometryUtils { open val wholeText: String - get() = noImpl - fun splitText(offset: Int): Text = noImpl + override val previousElementSibling: Element? + override val nextElementSibling: Element? + override val assignedSlot: HTMLSlotElement? + fun splitText(offset: Int): Text + override fun before(vararg nodes: dynamic): Unit + override fun after(vararg nodes: dynamic): Unit + override fun replaceWith(vararg nodes: dynamic): Unit + override fun remove(): Unit + override fun getBoxQuads(options: BoxQuadOptions /* = noImpl */): Array + override fun convertQuadFromNode(quad: dynamic, from: dynamic, options: ConvertCoordinateOptions /* = noImpl */): DOMQuad + override fun convertRectFromNode(rect: DOMRectReadOnly, from: dynamic, options: ConvertCoordinateOptions /* = noImpl */): DOMQuad + override fun convertPointFromNode(point: DOMPointInit, from: dynamic, options: ConvertCoordinateOptions /* = noImpl */): DOMPoint } public external open class CDATASection : Text(noImpl) { + override fun before(vararg nodes: dynamic): Unit + override fun after(vararg nodes: dynamic): Unit + override fun replaceWith(vararg nodes: dynamic): Unit + override fun remove(): Unit + override fun getBoxQuads(options: BoxQuadOptions /* = noImpl */): Array + override fun convertQuadFromNode(quad: dynamic, from: dynamic, options: ConvertCoordinateOptions /* = noImpl */): DOMQuad + override fun convertRectFromNode(rect: DOMRectReadOnly, from: dynamic, options: ConvertCoordinateOptions /* = noImpl */): DOMQuad + override fun convertPointFromNode(point: DOMPointInit, from: dynamic, options: ConvertCoordinateOptions /* = noImpl */): DOMPoint } public external abstract class ProcessingInstruction : CharacterData(), LinkStyle, UnionElementOrProcessingInstruction { open val target: String - get() = noImpl } -public external open class Comment(data: String = "") : CharacterData() { +public external open class Comment(data: String = noImpl) : CharacterData() { + override val previousElementSibling: Element? + override val nextElementSibling: Element? + override fun before(vararg nodes: dynamic): Unit + override fun after(vararg nodes: dynamic): Unit + override fun replaceWith(vararg nodes: dynamic): Unit + override fun remove(): Unit } public external open class Range { open val startContainer: Node - get() = noImpl open val startOffset: Int - get() = noImpl open val endContainer: Node - get() = noImpl open val endOffset: Int - get() = noImpl open val collapsed: Boolean - get() = noImpl open val commonAncestorContainer: Node - get() = noImpl - fun createContextualFragment(fragment: String): DocumentFragment = noImpl - fun setStart(node: Node, offset: Int): Unit = noImpl - fun setEnd(node: Node, offset: Int): Unit = noImpl - fun setStartBefore(node: Node): Unit = noImpl - fun setStartAfter(node: Node): Unit = noImpl - fun setEndBefore(node: Node): Unit = noImpl - fun setEndAfter(node: Node): Unit = noImpl - fun collapse(toStart: Boolean = false): Unit = noImpl - fun selectNode(node: Node): Unit = noImpl - fun selectNodeContents(node: Node): Unit = noImpl - fun compareBoundaryPoints(how: Short, sourceRange: Range): Short = noImpl - fun deleteContents(): Unit = noImpl - fun extractContents(): DocumentFragment = noImpl - fun cloneContents(): DocumentFragment = noImpl - fun insertNode(node: Node): Unit = noImpl - fun surroundContents(newParent: Node): Unit = noImpl - fun cloneRange(): Range = noImpl - fun detach(): Unit = noImpl - fun isPointInRange(node: Node, offset: Int): Boolean = noImpl - fun comparePoint(node: Node, offset: Int): Short = noImpl - fun intersectsNode(node: Node): Boolean = noImpl - fun getClientRects(): Array = noImpl - fun getBoundingClientRect(): DOMRect = noImpl + fun createContextualFragment(fragment: String): DocumentFragment + fun setStart(node: Node, offset: Int): Unit + fun setEnd(node: Node, offset: Int): Unit + fun setStartBefore(node: Node): Unit + fun setStartAfter(node: Node): Unit + fun setEndBefore(node: Node): Unit + fun setEndAfter(node: Node): Unit + fun collapse(toStart: Boolean = noImpl): Unit + fun selectNode(node: Node): Unit + fun selectNodeContents(node: Node): Unit + fun compareBoundaryPoints(how: Short, sourceRange: Range): Short + fun deleteContents(): Unit + fun extractContents(): DocumentFragment + fun cloneContents(): DocumentFragment + fun insertNode(node: Node): Unit + fun surroundContents(newParent: Node): Unit + fun cloneRange(): Range + fun detach(): Unit + fun isPointInRange(node: Node, offset: Int): Boolean + fun comparePoint(node: Node, offset: Int): Short + fun intersectsNode(node: Node): Boolean + fun getClientRects(): Array + fun getBoundingClientRect(): DOMRect companion object { - val START_TO_START: Short = 0 - val START_TO_END: Short = 1 - val END_TO_END: Short = 2 - val END_TO_START: Short = 3 + val START_TO_START: Short + val START_TO_END: Short + val END_TO_END: Short + val END_TO_START: Short } } public external abstract class NodeIterator { open val root: Node - get() = noImpl open val referenceNode: Node - get() = noImpl open val pointerBeforeReferenceNode: Boolean - get() = noImpl open val whatToShow: Int - get() = noImpl open val filter: NodeFilter? - get() = noImpl - fun nextNode(): Node? = noImpl - fun previousNode(): Node? = noImpl - fun detach(): Unit = noImpl + fun nextNode(): Node? + fun previousNode(): Node? + fun detach(): Unit } public external abstract class TreeWalker { open val root: Node - get() = noImpl open val whatToShow: Int - get() = noImpl open val filter: NodeFilter? - get() = noImpl open var currentNode: Node - get() = noImpl - set(value) = noImpl - fun parentNode(): Node? = noImpl - fun firstChild(): Node? = noImpl - fun lastChild(): Node? = noImpl - fun previousSibling(): Node? = noImpl - fun nextSibling(): Node? = noImpl - fun previousNode(): Node? = noImpl - fun nextNode(): Node? = noImpl + fun parentNode(): Node? + fun firstChild(): Node? + fun lastChild(): Node? + fun previousSibling(): Node? + fun nextSibling(): Node? + fun previousNode(): Node? + fun nextNode(): Node? } public external interface NodeFilter { - fun acceptNode(node: Node): Short = noImpl + fun acceptNode(node: Node): Short companion object { - val FILTER_ACCEPT: Short = 1 - val FILTER_REJECT: Short = 2 - val FILTER_SKIP: Short = 3 - val SHOW_ALL: Int = noImpl - val SHOW_ELEMENT: Int = 0x1 - val SHOW_ATTRIBUTE: Int = 0x2 - val SHOW_TEXT: Int = 0x4 - val SHOW_CDATA_SECTION: Int = 0x8 - val SHOW_ENTITY_REFERENCE: Int = 0x10 - val SHOW_ENTITY: Int = 0x20 - val SHOW_PROCESSING_INSTRUCTION: Int = 0x40 - val SHOW_COMMENT: Int = 0x80 - val SHOW_DOCUMENT: Int = 0x100 - val SHOW_DOCUMENT_TYPE: Int = 0x200 - val SHOW_DOCUMENT_FRAGMENT: Int = 0x400 - val SHOW_NOTATION: Int = 0x800 + val FILTER_ACCEPT: Short + val FILTER_REJECT: Short + val FILTER_SKIP: Short + val SHOW_ALL: Int + val SHOW_ELEMENT: Int + val SHOW_ATTRIBUTE: Int + val SHOW_TEXT: Int + val SHOW_CDATA_SECTION: Int + val SHOW_ENTITY_REFERENCE: Int + val SHOW_ENTITY: Int + val SHOW_PROCESSING_INSTRUCTION: Int + val SHOW_COMMENT: Int + val SHOW_DOCUMENT: Int + val SHOW_DOCUMENT_TYPE: Int + val SHOW_DOCUMENT_FRAGMENT: Int + val SHOW_NOTATION: Int } } public external abstract class DOMTokenList { open val length: Int - get() = noImpl open var value: String - get() = noImpl - set(value) = noImpl - fun item(index: Int): String? = noImpl + fun item(index: Int): String? @nativeGetter - operator fun get(index: Int): String? = noImpl - fun contains(token: String): Boolean = noImpl - fun add(vararg tokens: String): Unit = noImpl - fun remove(vararg tokens: String): Unit = noImpl - fun toggle(token: String, force: Boolean = noImpl): Boolean = noImpl - fun replace(token: String, newToken: String): Unit = noImpl - fun supports(token: String): Boolean = noImpl + operator fun get(index: Int): String? + fun contains(token: String): Boolean + fun add(vararg tokens: String): Unit + fun remove(vararg tokens: String): Unit + fun toggle(token: String, force: Boolean = noImpl): Boolean + fun replace(token: String, newToken: String): Unit + fun supports(token: String): Boolean } public external open class DOMPointReadOnly(x: Double, y: Double, z: Double, w: Double) { open val x: Double - get() = noImpl open val y: Double - get() = noImpl open val z: Double - get() = noImpl open val w: Double - get() = noImpl - fun matrixTransform(matrix: DOMMatrixReadOnly): DOMPoint = noImpl + fun matrixTransform(matrix: DOMMatrixReadOnly): DOMPoint } public external open class DOMPoint : DOMPointReadOnly { constructor(point: DOMPointInit) : super(noImpl, noImpl, noImpl, noImpl) - constructor(x: Double = 0.0, y: Double = 0.0, z: Double = 0.0, w: Double = 1.0) : super(x, y, z, w) + constructor(x: Double = noImpl, y: Double = noImpl, z: Double = noImpl, w: Double = noImpl) : super(x, y, z, w) override var x: Double - get() = noImpl - set(value) = noImpl override var y: Double - get() = noImpl - set(value) = noImpl override var z: Double - get() = noImpl - set(value) = noImpl override var w: Double - get() = noImpl - set(value) = noImpl } public external interface DOMPointInit { var x: Double? /* = 0.0 */ + get() = noImpl + set(value) = noImpl var y: Double? /* = 0.0 */ + get() = noImpl + set(value) = noImpl var z: Double? /* = 0.0 */ + get() = noImpl + set(value) = noImpl var w: Double? /* = 1.0 */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -4367,45 +3021,37 @@ public inline fun DOMPointInit(x: Double? = 0.0, y: Double? = 0.0, z: Double? = return o } -public external open class DOMRect(x: Double = 0.0, y: Double = 0.0, width: Double = 0.0, height: Double = 0.0) : DOMRectReadOnly(x, y, width, height) { +public external open class DOMRect(x: Double = noImpl, y: Double = noImpl, width: Double = noImpl, height: Double = noImpl) : DOMRectReadOnly(x, y, width, height) { override var x: Double - get() = noImpl - set(value) = noImpl override var y: Double - get() = noImpl - set(value) = noImpl override var width: Double - get() = noImpl - set(value) = noImpl override var height: Double - get() = noImpl - set(value) = noImpl } public external open class DOMRectReadOnly(x: Double, y: Double, width: Double, height: Double) { open val x: Double - get() = noImpl open val y: Double - get() = noImpl open val width: Double - get() = noImpl open val height: Double - get() = noImpl open val top: Double - get() = noImpl open val right: Double - get() = noImpl open val bottom: Double - get() = noImpl open val left: Double - get() = noImpl } public external interface DOMRectInit { var x: Double? /* = 0.0 */ + get() = noImpl + set(value) = noImpl var y: Double? /* = 0.0 */ + get() = noImpl + set(value) = noImpl var width: Double? /* = 0.0 */ + get() = noImpl + set(value) = noImpl var height: Double? /* = 0.0 */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -4422,92 +3068,62 @@ public inline fun DOMRectInit(x: Double? = 0.0, y: Double? = 0.0, width: Double? public external interface DOMRectList { val length: Int - get() = noImpl - fun item(index: Int): DOMRect? = noImpl + fun item(index: Int): DOMRect? @nativeGetter - operator fun get(index: Int): DOMRect? = noImpl + operator fun get(index: Int): DOMRect? } public external open class DOMQuad { constructor(p1: DOMPointInit = noImpl, p2: DOMPointInit = noImpl, p3: DOMPointInit = noImpl, p4: DOMPointInit = noImpl) constructor(rect: DOMRectInit) open val p1: DOMPoint - get() = noImpl open val p2: DOMPoint - get() = noImpl open val p3: DOMPoint - get() = noImpl open val p4: DOMPoint - get() = noImpl open val bounds: DOMRectReadOnly - get() = noImpl } public external open class DOMMatrixReadOnly(numberSequence: Array) { open val a: Double - get() = noImpl open val b: Double - get() = noImpl open val c: Double - get() = noImpl open val d: Double - get() = noImpl open val e: Double - get() = noImpl open val f: Double - get() = noImpl open val m11: Double - get() = noImpl open val m12: Double - get() = noImpl open val m13: Double - get() = noImpl open val m14: Double - get() = noImpl open val m21: Double - get() = noImpl open val m22: Double - get() = noImpl open val m23: Double - get() = noImpl open val m24: Double - get() = noImpl open val m31: Double - get() = noImpl open val m32: Double - get() = noImpl open val m33: Double - get() = noImpl open val m34: Double - get() = noImpl open val m41: Double - get() = noImpl open val m42: Double - get() = noImpl open val m43: Double - get() = noImpl open val m44: Double - get() = noImpl open val is2D: Boolean - get() = noImpl open val isIdentity: Boolean - get() = noImpl - fun translate(tx: Double, ty: Double, tz: Double = 0.0): DOMMatrix = noImpl - fun scale(scale: Double, originX: Double = 0.0, originY: Double = 0.0): DOMMatrix = noImpl - fun scale3d(scale: Double, originX: Double = 0.0, originY: Double = 0.0, originZ: Double = 0.0): DOMMatrix = noImpl - fun scaleNonUniform(scaleX: Double, scaleY: Double = 1.0, scaleZ: Double = 1.0, originX: Double = 0.0, originY: Double = 0.0, originZ: Double = 0.0): DOMMatrix = noImpl - fun rotate(angle: Double, originX: Double = 0.0, originY: Double = 0.0): DOMMatrix = noImpl - fun rotateFromVector(x: Double, y: Double): DOMMatrix = noImpl - fun rotateAxisAngle(x: Double, y: Double, z: Double, angle: Double): DOMMatrix = noImpl - fun skewX(sx: Double): DOMMatrix = noImpl - fun skewY(sy: Double): DOMMatrix = noImpl - fun multiply(other: DOMMatrix): DOMMatrix = noImpl - fun flipX(): DOMMatrix = noImpl - fun flipY(): DOMMatrix = noImpl - fun inverse(): DOMMatrix = noImpl - fun transformPoint(point: DOMPointInit = noImpl): DOMPoint = noImpl - fun toFloat32Array(): Float32Array = noImpl - fun toFloat64Array(): Float64Array = noImpl + fun translate(tx: Double, ty: Double, tz: Double = noImpl): DOMMatrix + fun scale(scale: Double, originX: Double = noImpl, originY: Double = noImpl): DOMMatrix + fun scale3d(scale: Double, originX: Double = noImpl, originY: Double = noImpl, originZ: Double = noImpl): DOMMatrix + fun scaleNonUniform(scaleX: Double, scaleY: Double = noImpl, scaleZ: Double = noImpl, originX: Double = noImpl, originY: Double = noImpl, originZ: Double = noImpl): DOMMatrix + fun rotate(angle: Double, originX: Double = noImpl, originY: Double = noImpl): DOMMatrix + fun rotateFromVector(x: Double, y: Double): DOMMatrix + fun rotateAxisAngle(x: Double, y: Double, z: Double, angle: Double): DOMMatrix + fun skewX(sx: Double): DOMMatrix + fun skewY(sy: Double): DOMMatrix + fun multiply(other: DOMMatrix): DOMMatrix + fun flipX(): DOMMatrix + fun flipY(): DOMMatrix + fun inverse(): DOMMatrix + fun transformPoint(point: DOMPointInit = noImpl): DOMPoint + fun toFloat32Array(): Float32Array + fun toFloat64Array(): Float64Array } public external open class DOMMatrix() : DOMMatrixReadOnly(noImpl) { @@ -4517,88 +3133,46 @@ public external open class DOMMatrix() : DOMMatrixReadOnly(noImpl) { constructor(array64: Float64Array) : this() constructor(numberSequence: Array) : this() override var a: Double - get() = noImpl - set(value) = noImpl override var b: Double - get() = noImpl - set(value) = noImpl override var c: Double - get() = noImpl - set(value) = noImpl override var d: Double - get() = noImpl - set(value) = noImpl override var e: Double - get() = noImpl - set(value) = noImpl override var f: Double - get() = noImpl - set(value) = noImpl override var m11: Double - get() = noImpl - set(value) = noImpl override var m12: Double - get() = noImpl - set(value) = noImpl override var m13: Double - get() = noImpl - set(value) = noImpl override var m14: Double - get() = noImpl - set(value) = noImpl override var m21: Double - get() = noImpl - set(value) = noImpl override var m22: Double - get() = noImpl - set(value) = noImpl override var m23: Double - get() = noImpl - set(value) = noImpl override var m24: Double - get() = noImpl - set(value) = noImpl override var m31: Double - get() = noImpl - set(value) = noImpl override var m32: Double - get() = noImpl - set(value) = noImpl override var m33: Double - get() = noImpl - set(value) = noImpl override var m34: Double - get() = noImpl - set(value) = noImpl override var m41: Double - get() = noImpl - set(value) = noImpl override var m42: Double - get() = noImpl - set(value) = noImpl override var m43: Double - get() = noImpl - set(value) = noImpl override var m44: Double - get() = noImpl - set(value) = noImpl - fun multiplySelf(other: DOMMatrix): DOMMatrix = noImpl - fun preMultiplySelf(other: DOMMatrix): DOMMatrix = noImpl - fun translateSelf(tx: Double, ty: Double, tz: Double = 0.0): DOMMatrix = noImpl - fun scaleSelf(scale: Double, originX: Double = 0.0, originY: Double = 0.0): DOMMatrix = noImpl - fun scale3dSelf(scale: Double, originX: Double = 0.0, originY: Double = 0.0, originZ: Double = 0.0): DOMMatrix = noImpl - fun scaleNonUniformSelf(scaleX: Double, scaleY: Double = 1.0, scaleZ: Double = 1.0, originX: Double = 0.0, originY: Double = 0.0, originZ: Double = 0.0): DOMMatrix = noImpl - fun rotateSelf(angle: Double, originX: Double = 0.0, originY: Double = 0.0): DOMMatrix = noImpl - fun rotateFromVectorSelf(x: Double, y: Double): DOMMatrix = noImpl - fun rotateAxisAngleSelf(x: Double, y: Double, z: Double, angle: Double): DOMMatrix = noImpl - fun skewXSelf(sx: Double): DOMMatrix = noImpl - fun skewYSelf(sy: Double): DOMMatrix = noImpl - fun invertSelf(): DOMMatrix = noImpl - fun setMatrixValue(transformList: String): DOMMatrix = noImpl + fun multiplySelf(other: DOMMatrix): DOMMatrix + fun preMultiplySelf(other: DOMMatrix): DOMMatrix + fun translateSelf(tx: Double, ty: Double, tz: Double = noImpl): DOMMatrix + fun scaleSelf(scale: Double, originX: Double = noImpl, originY: Double = noImpl): DOMMatrix + fun scale3dSelf(scale: Double, originX: Double = noImpl, originY: Double = noImpl, originZ: Double = noImpl): DOMMatrix + fun scaleNonUniformSelf(scaleX: Double, scaleY: Double = noImpl, scaleZ: Double = noImpl, originX: Double = noImpl, originY: Double = noImpl, originZ: Double = noImpl): DOMMatrix + fun rotateSelf(angle: Double, originX: Double = noImpl, originY: Double = noImpl): DOMMatrix + fun rotateFromVectorSelf(x: Double, y: Double): DOMMatrix + fun rotateAxisAngleSelf(x: Double, y: Double, z: Double, angle: Double): DOMMatrix + fun skewXSelf(sx: Double): DOMMatrix + fun skewYSelf(sy: Double): DOMMatrix + fun invertSelf(): DOMMatrix + fun setMatrixValue(transformList: String): DOMMatrix } public external interface ScrollOptions { var behavior: String? /* = "auto" */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -4612,7 +3186,11 @@ public inline fun ScrollOptions(behavior: String? = "auto"): ScrollOptions { public external interface ScrollToOptions : ScrollOptions { var left: Double? + get() = noImpl + set(value) = noImpl var top: Double? + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -4628,28 +3206,26 @@ public inline fun ScrollToOptions(left: Double?, top: Double?, behavior: String? public external abstract class MediaQueryList : EventTarget() { open val media: String - get() = noImpl open val matches: Boolean - get() = noImpl open var onchange: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl - fun addListener(listener: EventListener?): Unit = noImpl - fun addListener(listener: ((Event) -> Unit)?): Unit = noImpl - fun removeListener(listener: EventListener?): Unit = noImpl - fun removeListener(listener: ((Event) -> Unit)?): Unit = noImpl + fun addListener(listener: EventListener?): Unit + fun addListener(listener: ((Event) -> Unit)?): Unit + fun removeListener(listener: EventListener?): Unit + fun removeListener(listener: ((Event) -> Unit)?): Unit } public external open class MediaQueryListEvent(type: String, eventInitDict: MediaQueryListEventInit = noImpl) : Event(type, eventInitDict) { open val media: String - get() = noImpl open val matches: Boolean - get() = noImpl } public external interface MediaQueryListEventInit : EventInit { var media: String? /* = "" */ + get() = noImpl + set(value) = noImpl var matches: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -4667,30 +3243,26 @@ public inline fun MediaQueryListEventInit(media: String? = "", matches: Boolean? public external abstract class Screen { open val availWidth: Int - get() = noImpl open val availHeight: Int - get() = noImpl open val width: Int - get() = noImpl open val height: Int - get() = noImpl open val colorDepth: Int - get() = noImpl open val pixelDepth: Int - get() = noImpl } public external abstract class CaretPosition { open val offsetNode: Node - get() = noImpl open val offset: Int - get() = noImpl - fun getClientRect(): DOMRect? = noImpl + fun getClientRect(): DOMRect? } public external interface ScrollIntoViewOptions : ScrollOptions { var block: String? /* = "center" */ + get() = noImpl + set(value) = noImpl var inline: String? /* = "center" */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -4706,7 +3278,11 @@ public inline fun ScrollIntoViewOptions(block: String? = "center", inline: Strin public external interface BoxQuadOptions { var box: String? /* = "border" */ + get() = noImpl + set(value) = noImpl var relativeTo: dynamic + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -4721,7 +3297,11 @@ public inline fun BoxQuadOptions(box: String? = "border", relativeTo: dynamic): public external interface ConvertCoordinateOptions { var fromBox: String? /* = "border" */ + get() = noImpl + set(value) = noImpl var toBox: String? /* = "border" */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -4735,10 +3315,10 @@ public inline fun ConvertCoordinateOptions(fromBox: String? = "border", toBox: S } public external interface GeometryUtils { - fun getBoxQuads(options: BoxQuadOptions = noImpl): Array = noImpl - fun convertQuadFromNode(quad: dynamic, from: dynamic, options: ConvertCoordinateOptions = noImpl): DOMQuad = noImpl - fun convertRectFromNode(rect: DOMRectReadOnly, from: dynamic, options: ConvertCoordinateOptions = noImpl): DOMQuad = noImpl - fun convertPointFromNode(point: DOMPointInit, from: dynamic, options: ConvertCoordinateOptions = noImpl): DOMPoint = noImpl + fun getBoxQuads(options: BoxQuadOptions = noImpl): Array + fun convertQuadFromNode(quad: dynamic, from: dynamic, options: ConvertCoordinateOptions = noImpl): DOMQuad + fun convertRectFromNode(rect: DOMRectReadOnly, from: dynamic, options: ConvertCoordinateOptions = noImpl): DOMQuad + fun convertPointFromNode(point: DOMPointInit, from: dynamic, options: ConvertCoordinateOptions = noImpl): DOMPoint } public external @marker interface UnionElementOrProcessingInstruction { diff --git a/js/js.libraries/src/generated/org.w3c.dom.parsing.kt b/js/js.libraries/src/generated/org.w3c.dom.parsing.kt index 934deca8dc3..a25b42e6546 100644 --- a/js/js.libraries/src/generated/org.w3c.dom.parsing.kt +++ b/js/js.libraries/src/generated/org.w3c.dom.parsing.kt @@ -21,10 +21,10 @@ import org.w3c.workers.* import org.w3c.xhr.* public external open class DOMParser { - fun parseFromString(str: String, type: dynamic): Document = noImpl + fun parseFromString(str: String, type: dynamic): Document } public external open class XMLSerializer { - fun serializeToString(root: Node): String = noImpl + fun serializeToString(root: Node): String } diff --git a/js/js.libraries/src/generated/org.w3c.dom.svg.kt b/js/js.libraries/src/generated/org.w3c.dom.svg.kt index 0adc011ec01..7fb74956383 100644 --- a/js/js.libraries/src/generated/org.w3c.dom.svg.kt +++ b/js/js.libraries/src/generated/org.w3c.dom.svg.kt @@ -22,23 +22,26 @@ import org.w3c.xhr.* public external abstract class SVGElement : Element(), ElementCSSInlineStyle, GlobalEventHandlers, SVGElementInstance { open val dataset: DOMStringMap - get() = noImpl open val ownerSVGElement: SVGSVGElement? - get() = noImpl open val viewportElement: SVGElement? - get() = noImpl open var tabIndex: Int - get() = noImpl - set(value) = noImpl - fun focus(): Unit = noImpl - fun blur(): Unit = noImpl + fun focus(): Unit + fun blur(): Unit } public external interface SVGBoundingBoxOptions { var fill: Boolean? /* = true */ + get() = noImpl + set(value) = noImpl var stroke: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var markers: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var clipped: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -55,305 +58,240 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean? public external abstract class SVGGraphicsElement : SVGElement(), SVGTests { open val transform: SVGAnimatedTransformList - get() = noImpl - fun getBBox(options: SVGBoundingBoxOptions = noImpl): DOMRect = noImpl - fun getCTM(): DOMMatrix? = noImpl - fun getScreenCTM(): DOMMatrix? = noImpl + fun getBBox(options: SVGBoundingBoxOptions = noImpl): DOMRect + fun getCTM(): DOMMatrix? + fun getScreenCTM(): DOMMatrix? } public external abstract class SVGGeometryElement : SVGGraphicsElement() { open val pathLength: SVGAnimatedNumber - get() = noImpl - fun isPointInFill(point: DOMPoint): Boolean = noImpl - fun isPointInStroke(point: DOMPoint): Boolean = noImpl - fun getTotalLength(): Float = noImpl - fun getPointAtLength(distance: Float): DOMPoint = noImpl + fun isPointInFill(point: DOMPoint): Boolean + fun isPointInStroke(point: DOMPoint): Boolean + fun getTotalLength(): Float + fun getPointAtLength(distance: Float): DOMPoint } public external abstract class SVGNumber { open var value: Float - get() = noImpl - set(value) = noImpl } public external abstract class SVGLength { open val unitType: Short - get() = noImpl open var value: Float - get() = noImpl - set(value) = noImpl open var valueInSpecifiedUnits: Float - get() = noImpl - set(value) = noImpl open var valueAsString: String - get() = noImpl - set(value) = noImpl - fun newValueSpecifiedUnits(unitType: Short, valueInSpecifiedUnits: Float): Unit = noImpl - fun convertToSpecifiedUnits(unitType: Short): Unit = noImpl + fun newValueSpecifiedUnits(unitType: Short, valueInSpecifiedUnits: Float): Unit + fun convertToSpecifiedUnits(unitType: Short): Unit companion object { - val SVG_LENGTHTYPE_UNKNOWN: Short = 0 - val SVG_LENGTHTYPE_NUMBER: Short = 1 - val SVG_LENGTHTYPE_PERCENTAGE: Short = 2 - val SVG_LENGTHTYPE_EMS: Short = 3 - val SVG_LENGTHTYPE_EXS: Short = 4 - val SVG_LENGTHTYPE_PX: Short = 5 - val SVG_LENGTHTYPE_CM: Short = 6 - val SVG_LENGTHTYPE_MM: Short = 7 - val SVG_LENGTHTYPE_IN: Short = 8 - val SVG_LENGTHTYPE_PT: Short = 9 - val SVG_LENGTHTYPE_PC: Short = 10 + val SVG_LENGTHTYPE_UNKNOWN: Short + val SVG_LENGTHTYPE_NUMBER: Short + val SVG_LENGTHTYPE_PERCENTAGE: Short + val SVG_LENGTHTYPE_EMS: Short + val SVG_LENGTHTYPE_EXS: Short + val SVG_LENGTHTYPE_PX: Short + val SVG_LENGTHTYPE_CM: Short + val SVG_LENGTHTYPE_MM: Short + val SVG_LENGTHTYPE_IN: Short + val SVG_LENGTHTYPE_PT: Short + val SVG_LENGTHTYPE_PC: Short } } public external abstract class SVGAngle { open val unitType: Short - get() = noImpl open var value: Float - get() = noImpl - set(value) = noImpl open var valueInSpecifiedUnits: Float - get() = noImpl - set(value) = noImpl open var valueAsString: String - get() = noImpl - set(value) = noImpl - fun newValueSpecifiedUnits(unitType: Short, valueInSpecifiedUnits: Float): Unit = noImpl - fun convertToSpecifiedUnits(unitType: Short): Unit = noImpl + fun newValueSpecifiedUnits(unitType: Short, valueInSpecifiedUnits: Float): Unit + fun convertToSpecifiedUnits(unitType: Short): Unit companion object { - val SVG_ANGLETYPE_UNKNOWN: Short = 0 - val SVG_ANGLETYPE_UNSPECIFIED: Short = 1 - val SVG_ANGLETYPE_DEG: Short = 2 - val SVG_ANGLETYPE_RAD: Short = 3 - val SVG_ANGLETYPE_GRAD: Short = 4 + val SVG_ANGLETYPE_UNKNOWN: Short + val SVG_ANGLETYPE_UNSPECIFIED: Short + val SVG_ANGLETYPE_DEG: Short + val SVG_ANGLETYPE_RAD: Short + val SVG_ANGLETYPE_GRAD: Short } } public external abstract class SVGNameList { open val length: Int - get() = noImpl open val numberOfItems: Int - get() = noImpl - fun clear(): Unit = noImpl - fun initialize(newItem: dynamic): dynamic = noImpl - fun getItem(index: Int): dynamic = noImpl + fun clear(): Unit + fun initialize(newItem: dynamic): dynamic + fun getItem(index: Int): dynamic @nativeGetter - operator fun get(index: Int): dynamic = noImpl - fun insertItemBefore(newItem: dynamic, index: Int): dynamic = noImpl - fun replaceItem(newItem: dynamic, index: Int): dynamic = noImpl - fun removeItem(index: Int): dynamic = noImpl - fun appendItem(newItem: dynamic): dynamic = noImpl + operator fun get(index: Int): dynamic + fun insertItemBefore(newItem: dynamic, index: Int): dynamic + fun replaceItem(newItem: dynamic, index: Int): dynamic + fun removeItem(index: Int): dynamic + fun appendItem(newItem: dynamic): dynamic @nativeSetter - operator fun set(index: Int, newItem: dynamic): Unit = noImpl + operator fun set(index: Int, newItem: dynamic): Unit } public external abstract class SVGNumberList { open val length: Int - get() = noImpl open val numberOfItems: Int - get() = noImpl - fun clear(): Unit = noImpl - fun initialize(newItem: SVGNumber): SVGNumber = noImpl - fun getItem(index: Int): SVGNumber = noImpl + fun clear(): Unit + fun initialize(newItem: SVGNumber): SVGNumber + fun getItem(index: Int): SVGNumber @nativeGetter - operator fun get(index: Int): SVGNumber? = noImpl - fun insertItemBefore(newItem: SVGNumber, index: Int): SVGNumber = noImpl - fun replaceItem(newItem: SVGNumber, index: Int): SVGNumber = noImpl - fun removeItem(index: Int): SVGNumber = noImpl - fun appendItem(newItem: SVGNumber): SVGNumber = noImpl + operator fun get(index: Int): SVGNumber? + fun insertItemBefore(newItem: SVGNumber, index: Int): SVGNumber + fun replaceItem(newItem: SVGNumber, index: Int): SVGNumber + fun removeItem(index: Int): SVGNumber + fun appendItem(newItem: SVGNumber): SVGNumber @nativeSetter - operator fun set(index: Int, newItem: SVGNumber): Unit = noImpl + operator fun set(index: Int, newItem: SVGNumber): Unit } public external abstract class SVGLengthList { open val length: Int - get() = noImpl open val numberOfItems: Int - get() = noImpl - fun clear(): Unit = noImpl - fun initialize(newItem: SVGLength): SVGLength = noImpl - fun getItem(index: Int): SVGLength = noImpl + fun clear(): Unit + fun initialize(newItem: SVGLength): SVGLength + fun getItem(index: Int): SVGLength @nativeGetter - operator fun get(index: Int): SVGLength? = noImpl - fun insertItemBefore(newItem: SVGLength, index: Int): SVGLength = noImpl - fun replaceItem(newItem: SVGLength, index: Int): SVGLength = noImpl - fun removeItem(index: Int): SVGLength = noImpl - fun appendItem(newItem: SVGLength): SVGLength = noImpl + operator fun get(index: Int): SVGLength? + fun insertItemBefore(newItem: SVGLength, index: Int): SVGLength + fun replaceItem(newItem: SVGLength, index: Int): SVGLength + fun removeItem(index: Int): SVGLength + fun appendItem(newItem: SVGLength): SVGLength @nativeSetter - operator fun set(index: Int, newItem: SVGLength): Unit = noImpl + operator fun set(index: Int, newItem: SVGLength): Unit } public external abstract class SVGAnimatedBoolean { open var baseVal: Boolean - get() = noImpl - set(value) = noImpl open val animVal: Boolean - get() = noImpl } public external abstract class SVGAnimatedEnumeration { open var baseVal: Short - get() = noImpl - set(value) = noImpl open val animVal: Short - get() = noImpl } public external abstract class SVGAnimatedInteger { open var baseVal: Int - get() = noImpl - set(value) = noImpl open val animVal: Int - get() = noImpl } public external abstract class SVGAnimatedNumber { open var baseVal: Float - get() = noImpl - set(value) = noImpl open val animVal: Float - get() = noImpl } public external abstract class SVGAnimatedLength { open val baseVal: SVGLength - get() = noImpl open val animVal: SVGLength - get() = noImpl } public external abstract class SVGAnimatedAngle { open val baseVal: SVGAngle - get() = noImpl open val animVal: SVGAngle - get() = noImpl } public external abstract class SVGAnimatedString { open var baseVal: String - get() = noImpl - set(value) = noImpl open val animVal: String - get() = noImpl } public external abstract class SVGAnimatedRect { open val baseVal: DOMRect - get() = noImpl open val animVal: DOMRectReadOnly - get() = noImpl } public external abstract class SVGAnimatedNumberList { open val baseVal: SVGNumberList - get() = noImpl open val animVal: SVGNumberList - get() = noImpl } public external abstract class SVGAnimatedLengthList { open val baseVal: SVGLengthList - get() = noImpl open val animVal: SVGLengthList - get() = noImpl } public external abstract class SVGStringList { open val length: Int - get() = noImpl open val numberOfItems: Int - get() = noImpl - fun clear(): Unit = noImpl - fun initialize(newItem: String): String = noImpl - fun getItem(index: Int): String = noImpl + fun clear(): Unit + fun initialize(newItem: String): String + fun getItem(index: Int): String @nativeGetter - operator fun get(index: Int): String? = noImpl - fun insertItemBefore(newItem: String, index: Int): String = noImpl - fun replaceItem(newItem: String, index: Int): String = noImpl - fun removeItem(index: Int): String = noImpl - fun appendItem(newItem: String): String = noImpl + operator fun get(index: Int): String? + fun insertItemBefore(newItem: String, index: Int): String + fun replaceItem(newItem: String, index: Int): String + fun removeItem(index: Int): String + fun appendItem(newItem: String): String @nativeSetter - operator fun set(index: Int, newItem: String): Unit = noImpl + operator fun set(index: Int, newItem: String): Unit } public external interface SVGUnitTypes { companion object { - val SVG_UNIT_TYPE_UNKNOWN: Short = 0 - val SVG_UNIT_TYPE_USERSPACEONUSE: Short = 1 - val SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: Short = 2 + val SVG_UNIT_TYPE_UNKNOWN: Short + val SVG_UNIT_TYPE_USERSPACEONUSE: Short + val SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: Short } } public external interface SVGTests { val requiredExtensions: SVGStringList - get() = noImpl val systemLanguage: SVGStringList - get() = noImpl } public external interface SVGFitToViewBox { val viewBox: SVGAnimatedRect - get() = noImpl val preserveAspectRatio: SVGAnimatedPreserveAspectRatio - get() = noImpl } public external interface SVGZoomAndPan { var zoomAndPan: Short - get() = noImpl - set(value) = noImpl companion object { - val SVG_ZOOMANDPAN_UNKNOWN: Short = 0 - val SVG_ZOOMANDPAN_DISABLE: Short = 1 - val SVG_ZOOMANDPAN_MAGNIFY: Short = 2 + val SVG_ZOOMANDPAN_UNKNOWN: Short + val SVG_ZOOMANDPAN_DISABLE: Short + val SVG_ZOOMANDPAN_MAGNIFY: Short } } public external interface SVGURIReference { val href: SVGAnimatedString - get() = noImpl } public external abstract class SVGSVGElement : SVGGraphicsElement(), SVGFitToViewBox, SVGZoomAndPan, WindowEventHandlers { open val x: SVGAnimatedLength - get() = noImpl open val y: SVGAnimatedLength - get() = noImpl open val width: SVGAnimatedLength - get() = noImpl open val height: SVGAnimatedLength - get() = noImpl open var currentScale: Float - get() = noImpl - set(value) = noImpl open val currentTranslate: DOMPointReadOnly - get() = noImpl - fun getIntersectionList(rect: DOMRectReadOnly, referenceElement: SVGElement?): NodeList = noImpl - fun getEnclosureList(rect: DOMRectReadOnly, referenceElement: SVGElement?): NodeList = noImpl - fun checkIntersection(element: SVGElement, rect: DOMRectReadOnly): Boolean = noImpl - fun checkEnclosure(element: SVGElement, rect: DOMRectReadOnly): Boolean = noImpl - fun deselectAll(): Unit = noImpl - fun createSVGNumber(): SVGNumber = noImpl - fun createSVGLength(): SVGLength = noImpl - fun createSVGAngle(): SVGAngle = noImpl - fun createSVGPoint(): DOMPoint = noImpl - fun createSVGMatrix(): DOMMatrix = noImpl - fun createSVGRect(): DOMRect = noImpl - fun createSVGTransform(): SVGTransform = noImpl - fun createSVGTransformFromMatrix(matrix: DOMMatrixReadOnly): SVGTransform = noImpl - fun getElementById(elementId: String): Element = noImpl - fun suspendRedraw(maxWaitMilliseconds: Int): Int = noImpl - fun unsuspendRedraw(suspendHandleID: Int): Unit = noImpl - fun unsuspendRedrawAll(): Unit = noImpl - fun forceRedraw(): Unit = noImpl + fun getIntersectionList(rect: DOMRectReadOnly, referenceElement: SVGElement?): NodeList + fun getEnclosureList(rect: DOMRectReadOnly, referenceElement: SVGElement?): NodeList + fun checkIntersection(element: SVGElement, rect: DOMRectReadOnly): Boolean + fun checkEnclosure(element: SVGElement, rect: DOMRectReadOnly): Boolean + fun deselectAll(): Unit + fun createSVGNumber(): SVGNumber + fun createSVGLength(): SVGLength + fun createSVGAngle(): SVGAngle + fun createSVGPoint(): DOMPoint + fun createSVGMatrix(): DOMMatrix + fun createSVGRect(): DOMRect + fun createSVGTransform(): SVGTransform + fun createSVGTransformFromMatrix(matrix: DOMMatrixReadOnly): SVGTransform + fun getElementById(elementId: String): Element + fun suspendRedraw(maxWaitMilliseconds: Int): Int + fun unsuspendRedraw(suspendHandleID: Int): Unit + fun unsuspendRedrawAll(): Unit + fun forceRedraw(): Unit companion object { - val SVG_ZOOMANDPAN_UNKNOWN: Short = 0 - val SVG_ZOOMANDPAN_DISABLE: Short = 1 - val SVG_ZOOMANDPAN_MAGNIFY: Short = 2 + val SVG_ZOOMANDPAN_UNKNOWN: Short + val SVG_ZOOMANDPAN_DISABLE: Short + val SVG_ZOOMANDPAN_MAGNIFY: Short } } @@ -380,136 +318,113 @@ public external abstract class SVGSymbolElement : SVGGraphicsElement(), SVGFitTo public external abstract class SVGUseElement : SVGGraphicsElement(), SVGURIReference { open val x: SVGAnimatedLength - get() = noImpl open val y: SVGAnimatedLength - get() = noImpl open val width: SVGAnimatedLength - get() = noImpl open val height: SVGAnimatedLength - get() = noImpl open val instanceRoot: SVGElement? - get() = noImpl open val animatedInstanceRoot: SVGElement? - get() = noImpl } public external open class SVGUseElementShadowRoot : ShadowRoot() { + override fun getElementById(elementId: String): Element? + override fun prepend(vararg nodes: dynamic): Unit + override fun append(vararg nodes: dynamic): Unit + override fun querySelector(selectors: String): Element? + override fun querySelectorAll(selectors: String): NodeList } public external interface SVGElementInstance { val correspondingElement: SVGElement? - get() = noImpl val correspondingUseElement: SVGUseElement? - get() = noImpl } public external open class ShadowAnimation(source: dynamic, newTarget: dynamic) { open val sourceAnimation: dynamic - get() = noImpl } public external abstract class SVGSwitchElement : SVGGraphicsElement() { } public external interface GetSVGDocument { - fun getSVGDocument(): Document = noImpl + fun getSVGDocument(): Document } public external abstract class SVGStyleElement : SVGElement(), LinkStyle { open var type: String - get() = noImpl - set(value) = noImpl open var media: String - get() = noImpl - set(value) = noImpl open var title: String - get() = noImpl - set(value) = noImpl } public external abstract class SVGTransform { open val type: Short - get() = noImpl open val matrix: DOMMatrix - get() = noImpl open val angle: Float - get() = noImpl - fun setMatrix(matrix: DOMMatrixReadOnly): Unit = noImpl - fun setTranslate(tx: Float, ty: Float): Unit = noImpl - fun setScale(sx: Float, sy: Float): Unit = noImpl - fun setRotate(angle: Float, cx: Float, cy: Float): Unit = noImpl - fun setSkewX(angle: Float): Unit = noImpl - fun setSkewY(angle: Float): Unit = noImpl + fun setMatrix(matrix: DOMMatrixReadOnly): Unit + fun setTranslate(tx: Float, ty: Float): Unit + fun setScale(sx: Float, sy: Float): Unit + fun setRotate(angle: Float, cx: Float, cy: Float): Unit + fun setSkewX(angle: Float): Unit + fun setSkewY(angle: Float): Unit companion object { - val SVG_TRANSFORM_UNKNOWN: Short = 0 - val SVG_TRANSFORM_MATRIX: Short = 1 - val SVG_TRANSFORM_TRANSLATE: Short = 2 - val SVG_TRANSFORM_SCALE: Short = 3 - val SVG_TRANSFORM_ROTATE: Short = 4 - val SVG_TRANSFORM_SKEWX: Short = 5 - val SVG_TRANSFORM_SKEWY: Short = 6 + val SVG_TRANSFORM_UNKNOWN: Short + val SVG_TRANSFORM_MATRIX: Short + val SVG_TRANSFORM_TRANSLATE: Short + val SVG_TRANSFORM_SCALE: Short + val SVG_TRANSFORM_ROTATE: Short + val SVG_TRANSFORM_SKEWX: Short + val SVG_TRANSFORM_SKEWY: Short } } public external abstract class SVGTransformList { open val length: Int - get() = noImpl open val numberOfItems: Int - get() = noImpl - fun clear(): Unit = noImpl - fun initialize(newItem: SVGTransform): SVGTransform = noImpl - fun getItem(index: Int): SVGTransform = noImpl + fun clear(): Unit + fun initialize(newItem: SVGTransform): SVGTransform + fun getItem(index: Int): SVGTransform @nativeGetter - operator fun get(index: Int): SVGTransform? = noImpl - fun insertItemBefore(newItem: SVGTransform, index: Int): SVGTransform = noImpl - fun replaceItem(newItem: SVGTransform, index: Int): SVGTransform = noImpl - fun removeItem(index: Int): SVGTransform = noImpl - fun appendItem(newItem: SVGTransform): SVGTransform = noImpl + operator fun get(index: Int): SVGTransform? + fun insertItemBefore(newItem: SVGTransform, index: Int): SVGTransform + fun replaceItem(newItem: SVGTransform, index: Int): SVGTransform + fun removeItem(index: Int): SVGTransform + fun appendItem(newItem: SVGTransform): SVGTransform @nativeSetter - operator fun set(index: Int, newItem: SVGTransform): Unit = noImpl - fun createSVGTransformFromMatrix(matrix: DOMMatrixReadOnly): SVGTransform = noImpl - fun consolidate(): SVGTransform? = noImpl + operator fun set(index: Int, newItem: SVGTransform): Unit + fun createSVGTransformFromMatrix(matrix: DOMMatrixReadOnly): SVGTransform + fun consolidate(): SVGTransform? } public external abstract class SVGAnimatedTransformList { open val baseVal: SVGTransformList - get() = noImpl open val animVal: SVGTransformList - get() = noImpl } public external abstract class SVGPreserveAspectRatio { open var align: Short - get() = noImpl - set(value) = noImpl open var meetOrSlice: Short - get() = noImpl - set(value) = noImpl companion object { - val SVG_PRESERVEASPECTRATIO_UNKNOWN: Short = 0 - val SVG_PRESERVEASPECTRATIO_NONE: Short = 1 - val SVG_PRESERVEASPECTRATIO_XMINYMIN: Short = 2 - val SVG_PRESERVEASPECTRATIO_XMIDYMIN: Short = 3 - val SVG_PRESERVEASPECTRATIO_XMAXYMIN: Short = 4 - val SVG_PRESERVEASPECTRATIO_XMINYMID: Short = 5 - val SVG_PRESERVEASPECTRATIO_XMIDYMID: Short = 6 - val SVG_PRESERVEASPECTRATIO_XMAXYMID: Short = 7 - val SVG_PRESERVEASPECTRATIO_XMINYMAX: Short = 8 - val SVG_PRESERVEASPECTRATIO_XMIDYMAX: Short = 9 - val SVG_PRESERVEASPECTRATIO_XMAXYMAX: Short = 10 - val SVG_MEETORSLICE_UNKNOWN: Short = 0 - val SVG_MEETORSLICE_MEET: Short = 1 - val SVG_MEETORSLICE_SLICE: Short = 2 + val SVG_PRESERVEASPECTRATIO_UNKNOWN: Short + val SVG_PRESERVEASPECTRATIO_NONE: Short + val SVG_PRESERVEASPECTRATIO_XMINYMIN: Short + val SVG_PRESERVEASPECTRATIO_XMIDYMIN: Short + val SVG_PRESERVEASPECTRATIO_XMAXYMIN: Short + val SVG_PRESERVEASPECTRATIO_XMINYMID: Short + val SVG_PRESERVEASPECTRATIO_XMIDYMID: Short + val SVG_PRESERVEASPECTRATIO_XMAXYMID: Short + val SVG_PRESERVEASPECTRATIO_XMINYMAX: Short + val SVG_PRESERVEASPECTRATIO_XMIDYMAX: Short + val SVG_PRESERVEASPECTRATIO_XMAXYMAX: Short + val SVG_MEETORSLICE_UNKNOWN: Short + val SVG_MEETORSLICE_MEET: Short + val SVG_MEETORSLICE_SLICE: Short } } public external abstract class SVGAnimatedPreserveAspectRatio { open val baseVal: SVGPreserveAspectRatio - get() = noImpl open val animVal: SVGPreserveAspectRatio - get() = noImpl } public external abstract class SVGPathElement : SVGGeometryElement() { @@ -517,48 +432,31 @@ public external abstract class SVGPathElement : SVGGeometryElement() { public external abstract class SVGRectElement : SVGGeometryElement() { open val x: SVGAnimatedLength - get() = noImpl open val y: SVGAnimatedLength - get() = noImpl open val width: SVGAnimatedLength - get() = noImpl open val height: SVGAnimatedLength - get() = noImpl open val rx: SVGAnimatedLength - get() = noImpl open val ry: SVGAnimatedLength - get() = noImpl } public external abstract class SVGCircleElement : SVGGeometryElement() { open val cx: SVGAnimatedLength - get() = noImpl open val cy: SVGAnimatedLength - get() = noImpl open val r: SVGAnimatedLength - get() = noImpl } public external abstract class SVGEllipseElement : SVGGeometryElement() { open val cx: SVGAnimatedLength - get() = noImpl open val cy: SVGAnimatedLength - get() = noImpl open val rx: SVGAnimatedLength - get() = noImpl open val ry: SVGAnimatedLength - get() = noImpl } public external abstract class SVGLineElement : SVGGeometryElement() { open val x1: SVGAnimatedLength - get() = noImpl open val y1: SVGAnimatedLength - get() = noImpl open val x2: SVGAnimatedLength - get() = noImpl open val y2: SVGAnimatedLength - get() = noImpl } public external abstract class SVGMeshElement : SVGGeometryElement(), SVGURIReference { @@ -566,27 +464,23 @@ public external abstract class SVGMeshElement : SVGGeometryElement(), SVGURIRefe public external interface SVGAnimatedPoints { val points: SVGPointList - get() = noImpl val animatedPoints: SVGPointList - get() = noImpl } public external abstract class SVGPointList { open val length: Int - get() = noImpl open val numberOfItems: Int - get() = noImpl - fun clear(): Unit = noImpl - fun initialize(newItem: DOMPoint): DOMPoint = noImpl - fun getItem(index: Int): DOMPoint = noImpl + fun clear(): Unit + fun initialize(newItem: DOMPoint): DOMPoint + fun getItem(index: Int): DOMPoint @nativeGetter - operator fun get(index: Int): DOMPoint? = noImpl - fun insertItemBefore(newItem: DOMPoint, index: Int): DOMPoint = noImpl - fun replaceItem(newItem: DOMPoint, index: Int): DOMPoint = noImpl - fun removeItem(index: Int): DOMPoint = noImpl - fun appendItem(newItem: DOMPoint): DOMPoint = noImpl + operator fun get(index: Int): DOMPoint? + fun insertItemBefore(newItem: DOMPoint, index: Int): DOMPoint + fun replaceItem(newItem: DOMPoint, index: Int): DOMPoint + fun removeItem(index: Int): DOMPoint + fun appendItem(newItem: DOMPoint): DOMPoint @nativeSetter - operator fun set(index: Int, newItem: DOMPoint): Unit = noImpl + operator fun set(index: Int, newItem: DOMPoint): Unit } public external abstract class SVGPolylineElement : SVGGeometryElement(), SVGAnimatedPoints { @@ -597,37 +491,30 @@ public external abstract class SVGPolygonElement : SVGGeometryElement(), SVGAnim public external abstract class SVGTextContentElement : SVGGraphicsElement() { open val textLength: SVGAnimatedLength - get() = noImpl open val lengthAdjust: SVGAnimatedEnumeration - get() = noImpl - fun getNumberOfChars(): Int = noImpl - fun getComputedTextLength(): Float = noImpl - fun getSubStringLength(charnum: Int, nchars: Int): Float = noImpl - fun getStartPositionOfChar(charnum: Int): DOMPoint = noImpl - fun getEndPositionOfChar(charnum: Int): DOMPoint = noImpl - fun getExtentOfChar(charnum: Int): DOMRect = noImpl - fun getRotationOfChar(charnum: Int): Float = noImpl - fun getCharNumAtPosition(point: DOMPoint): Int = noImpl - fun selectSubString(charnum: Int, nchars: Int): Unit = noImpl + fun getNumberOfChars(): Int + fun getComputedTextLength(): Float + fun getSubStringLength(charnum: Int, nchars: Int): Float + fun getStartPositionOfChar(charnum: Int): DOMPoint + fun getEndPositionOfChar(charnum: Int): DOMPoint + fun getExtentOfChar(charnum: Int): DOMRect + fun getRotationOfChar(charnum: Int): Float + fun getCharNumAtPosition(point: DOMPoint): Int + fun selectSubString(charnum: Int, nchars: Int): Unit companion object { - val LENGTHADJUST_UNKNOWN: Short = 0 - val LENGTHADJUST_SPACING: Short = 1 - val LENGTHADJUST_SPACINGANDGLYPHS: Short = 2 + val LENGTHADJUST_UNKNOWN: Short + val LENGTHADJUST_SPACING: Short + val LENGTHADJUST_SPACINGANDGLYPHS: Short } } public external abstract class SVGTextPositioningElement : SVGTextContentElement() { open val x: SVGAnimatedLengthList - get() = noImpl open val y: SVGAnimatedLengthList - get() = noImpl open val dx: SVGAnimatedLengthList - get() = noImpl open val dy: SVGAnimatedLengthList - get() = noImpl open val rotate: SVGAnimatedNumberList - get() = noImpl } public external abstract class SVGTextElement : SVGTextPositioningElement() { @@ -638,77 +525,54 @@ public external abstract class SVGTSpanElement : SVGTextPositioningElement() { public external abstract class SVGTextPathElement : SVGTextContentElement(), SVGURIReference { open val startOffset: SVGAnimatedLength - get() = noImpl open val method: SVGAnimatedEnumeration - get() = noImpl open val spacing: SVGAnimatedEnumeration - get() = noImpl companion object { - val TEXTPATH_METHODTYPE_UNKNOWN: Short = 0 - val TEXTPATH_METHODTYPE_ALIGN: Short = 1 - val TEXTPATH_METHODTYPE_STRETCH: Short = 2 - val TEXTPATH_SPACINGTYPE_UNKNOWN: Short = 0 - val TEXTPATH_SPACINGTYPE_AUTO: Short = 1 - val TEXTPATH_SPACINGTYPE_EXACT: Short = 2 + val TEXTPATH_METHODTYPE_UNKNOWN: Short + val TEXTPATH_METHODTYPE_ALIGN: Short + val TEXTPATH_METHODTYPE_STRETCH: Short + val TEXTPATH_SPACINGTYPE_UNKNOWN: Short + val TEXTPATH_SPACINGTYPE_AUTO: Short + val TEXTPATH_SPACINGTYPE_EXACT: Short } } public external abstract class SVGImageElement : SVGGraphicsElement(), SVGURIReference, HTMLOrSVGImageElement { open val x: SVGAnimatedLength - get() = noImpl open val y: SVGAnimatedLength - get() = noImpl open val width: SVGAnimatedLength - get() = noImpl open val height: SVGAnimatedLength - get() = noImpl open val preserveAspectRatio: SVGAnimatedPreserveAspectRatio - get() = noImpl open var crossOrigin: String? - get() = noImpl - set(value) = noImpl } public external abstract class SVGForeignObjectElement : SVGGraphicsElement() { open val x: SVGAnimatedLength - get() = noImpl open val y: SVGAnimatedLength - get() = noImpl open val width: SVGAnimatedLength - get() = noImpl open val height: SVGAnimatedLength - get() = noImpl } public external abstract class SVGMarkerElement : SVGElement(), SVGFitToViewBox { open val refX: SVGAnimatedLength - get() = noImpl open val refY: SVGAnimatedLength - get() = noImpl open val markerUnits: SVGAnimatedEnumeration - get() = noImpl open val markerWidth: SVGAnimatedLength - get() = noImpl open val markerHeight: SVGAnimatedLength - get() = noImpl open val orientType: SVGAnimatedEnumeration - get() = noImpl open val orientAngle: SVGAnimatedAngle - get() = noImpl open var orient: String - get() = noImpl - set(value) = noImpl - fun setOrientToAuto(): Unit = noImpl - fun setOrientToAngle(angle: SVGAngle): Unit = noImpl + fun setOrientToAuto(): Unit + fun setOrientToAngle(angle: SVGAngle): Unit companion object { - val SVG_MARKERUNITS_UNKNOWN: Short = 0 - val SVG_MARKERUNITS_USERSPACEONUSE: Short = 1 - val SVG_MARKERUNITS_STROKEWIDTH: Short = 2 - val SVG_MARKER_ORIENT_UNKNOWN: Short = 0 - val SVG_MARKER_ORIENT_AUTO: Short = 1 - val SVG_MARKER_ORIENT_ANGLE: Short = 2 + val SVG_MARKERUNITS_UNKNOWN: Short + val SVG_MARKERUNITS_USERSPACEONUSE: Short + val SVG_MARKERUNITS_STROKEWIDTH: Short + val SVG_MARKER_ORIENT_UNKNOWN: Short + val SVG_MARKER_ORIENT_AUTO: Short + val SVG_MARKER_ORIENT_ANGLE: Short } } @@ -717,47 +581,34 @@ public external abstract class SVGSolidcolorElement : SVGElement() { public external abstract class SVGGradientElement : SVGElement(), SVGURIReference, SVGUnitTypes { open val gradientUnits: SVGAnimatedEnumeration - get() = noImpl open val gradientTransform: SVGAnimatedTransformList - get() = noImpl open val spreadMethod: SVGAnimatedEnumeration - get() = noImpl companion object { - val SVG_SPREADMETHOD_UNKNOWN: Short = 0 - val SVG_SPREADMETHOD_PAD: Short = 1 - val SVG_SPREADMETHOD_REFLECT: Short = 2 - val SVG_SPREADMETHOD_REPEAT: Short = 3 - val SVG_UNIT_TYPE_UNKNOWN: Short = 0 - val SVG_UNIT_TYPE_USERSPACEONUSE: Short = 1 - val SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: Short = 2 + val SVG_SPREADMETHOD_UNKNOWN: Short + val SVG_SPREADMETHOD_PAD: Short + val SVG_SPREADMETHOD_REFLECT: Short + val SVG_SPREADMETHOD_REPEAT: Short + val SVG_UNIT_TYPE_UNKNOWN: Short + val SVG_UNIT_TYPE_USERSPACEONUSE: Short + val SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: Short } } public external abstract class SVGLinearGradientElement : SVGGradientElement() { open val x1: SVGAnimatedLength - get() = noImpl open val y1: SVGAnimatedLength - get() = noImpl open val x2: SVGAnimatedLength - get() = noImpl open val y2: SVGAnimatedLength - get() = noImpl } public external abstract class SVGRadialGradientElement : SVGGradientElement() { open val cx: SVGAnimatedLength - get() = noImpl open val cy: SVGAnimatedLength - get() = noImpl open val r: SVGAnimatedLength - get() = noImpl open val fx: SVGAnimatedLength - get() = noImpl open val fy: SVGAnimatedLength - get() = noImpl open val fr: SVGAnimatedLength - get() = noImpl } public external abstract class SVGMeshGradientElement : SVGGradientElement() { @@ -771,29 +622,21 @@ public external abstract class SVGMeshpatchElement : SVGElement() { public external abstract class SVGStopElement : SVGElement() { open val offset: SVGAnimatedNumber - get() = noImpl } public external abstract class SVGPatternElement : SVGElement(), SVGFitToViewBox, SVGURIReference, SVGUnitTypes { open val patternUnits: SVGAnimatedEnumeration - get() = noImpl open val patternContentUnits: SVGAnimatedEnumeration - get() = noImpl open val patternTransform: SVGAnimatedTransformList - get() = noImpl open val x: SVGAnimatedLength - get() = noImpl open val y: SVGAnimatedLength - get() = noImpl open val width: SVGAnimatedLength - get() = noImpl open val height: SVGAnimatedLength - get() = noImpl companion object { - val SVG_UNIT_TYPE_UNKNOWN: Short = 0 - val SVG_UNIT_TYPE_USERSPACEONUSE: Short = 1 - val SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: Short = 2 + val SVG_UNIT_TYPE_UNKNOWN: Short + val SVG_UNIT_TYPE_USERSPACEONUSE: Short + val SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: Short } } @@ -805,41 +648,29 @@ public external abstract class SVGHatchpathElement : SVGElement() { public external abstract class SVGCursorElement : SVGElement(), SVGURIReference { open val x: SVGAnimatedLength - get() = noImpl open val y: SVGAnimatedLength - get() = noImpl } public external abstract class SVGScriptElement : SVGElement(), SVGURIReference, HTMLOrSVGScriptElement { open var type: String - get() = noImpl - set(value) = noImpl open var crossOrigin: String? - get() = noImpl - set(value) = noImpl } public external abstract class SVGAElement : SVGGraphicsElement(), SVGURIReference { open val target: SVGAnimatedString - get() = noImpl open val download: SVGAnimatedString - get() = noImpl open val rel: SVGAnimatedString - get() = noImpl open val relList: SVGAnimatedString - get() = noImpl open val hreflang: SVGAnimatedString - get() = noImpl open val type: SVGAnimatedString - get() = noImpl } public external abstract class SVGViewElement : SVGElement(), SVGFitToViewBox, SVGZoomAndPan { companion object { - val SVG_ZOOMANDPAN_UNKNOWN: Short = 0 - val SVG_ZOOMANDPAN_DISABLE: Short = 1 - val SVG_ZOOMANDPAN_MAGNIFY: Short = 2 + val SVG_ZOOMANDPAN_UNKNOWN: Short + val SVG_ZOOMANDPAN_DISABLE: Short + val SVG_ZOOMANDPAN_MAGNIFY: Short } } diff --git a/js/js.libraries/src/generated/org.w3c.dom.url.kt b/js/js.libraries/src/generated/org.w3c.dom.url.kt index 1b67d813def..62f5f5fe61a 100644 --- a/js/js.libraries/src/generated/org.w3c.dom.url.kt +++ b/js/js.libraries/src/generated/org.w3c.dom.url.kt @@ -22,55 +22,33 @@ import org.w3c.xhr.* public external open class URL(url: String, base: String = noImpl) { var href: String - get() = noImpl - set(value) = noImpl open val origin: String - get() = noImpl var protocol: String - get() = noImpl - set(value) = noImpl var username: String - get() = noImpl - set(value) = noImpl var password: String - get() = noImpl - set(value) = noImpl var host: String - get() = noImpl - set(value) = noImpl var hostname: String - get() = noImpl - set(value) = noImpl var port: String - get() = noImpl - set(value) = noImpl var pathname: String - get() = noImpl - set(value) = noImpl var search: String - get() = noImpl - set(value) = noImpl open val searchParams: URLSearchParams - get() = noImpl var hash: String - get() = noImpl - set(value) = noImpl companion object { - fun createObjectURL(blob: Blob): String = noImpl - fun createFor(blob: Blob): String = noImpl - fun revokeObjectURL(url: String): Unit = noImpl - fun domainToASCII(domain: String): String = noImpl - fun domainToUnicode(domain: String): String = noImpl + fun createObjectURL(blob: Blob): String + fun createFor(blob: Blob): String + fun revokeObjectURL(url: String): Unit + fun domainToASCII(domain: String): String + fun domainToUnicode(domain: String): String } } -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 - fun getAll(name: String): Array = noImpl - fun has(name: String): Boolean = noImpl - fun set(name: String, value: String): Unit = noImpl +public external open class URLSearchParams(init: dynamic = noImpl) { + fun append(name: String, value: String): Unit + fun delete(name: String): Unit + fun get(name: String): String? + fun getAll(name: String): Array + fun has(name: String): Boolean + fun set(name: String, value: String): Unit } diff --git a/js/js.libraries/src/generated/org.w3c.fetch.kt b/js/js.libraries/src/generated/org.w3c.fetch.kt index c08b5e3b57c..457e69eb83e 100644 --- a/js/js.libraries/src/generated/org.w3c.fetch.kt +++ b/js/js.libraries/src/generated/org.w3c.fetch.kt @@ -21,66 +21,82 @@ import org.w3c.workers.* import org.w3c.xhr.* 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 - fun has(name: String): Boolean = noImpl - fun set(name: String, value: String): Unit = noImpl + fun append(name: String, value: String): Unit + fun delete(name: String): Unit + fun get(name: String): String? + fun has(name: String): Boolean + fun set(name: String, value: String): Unit } public external interface Body { val bodyUsed: Boolean - get() = noImpl - fun arrayBuffer(): dynamic = noImpl - fun blob(): dynamic = noImpl - fun formData(): dynamic = noImpl - fun json(): dynamic = noImpl - fun text(): dynamic = noImpl + fun arrayBuffer(): dynamic + fun blob(): dynamic + fun formData(): dynamic + fun json(): dynamic + fun text(): dynamic } public external open class Request(input: dynamic, init: RequestInit = noImpl) : Body { open val method: String - get() = noImpl open val url: String - get() = noImpl open val headers: Headers - get() = noImpl open val type: String - get() = noImpl open val destination: String - get() = noImpl open val referrer: String - get() = noImpl open val referrerPolicy: dynamic - get() = noImpl open val mode: String - get() = noImpl open val credentials: String - get() = noImpl open val cache: String - get() = noImpl open val redirect: String - get() = noImpl open val integrity: String - get() = noImpl open val keepalive: Boolean - get() = noImpl - fun clone(): Request = noImpl + override val bodyUsed: Boolean + fun clone(): Request + override fun arrayBuffer(): dynamic + override fun blob(): dynamic + override fun formData(): dynamic + override fun json(): dynamic + override fun text(): dynamic } public external interface RequestInit { var method: String? + get() = noImpl + set(value) = noImpl var headers: dynamic + get() = noImpl + set(value) = noImpl var body: dynamic + get() = noImpl + set(value) = noImpl var referrer: String? + get() = noImpl + set(value) = noImpl var referrerPolicy: dynamic + get() = noImpl + set(value) = noImpl var mode: String? + get() = noImpl + set(value) = noImpl var credentials: String? + get() = noImpl + set(value) = noImpl var cache: String? + get() = noImpl + set(value) = noImpl var redirect: String? + get() = noImpl + set(value) = noImpl var integrity: String? + get() = noImpl + set(value) = noImpl var keepalive: Boolean? + get() = noImpl + set(value) = noImpl var window: Any? + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -103,37 +119,40 @@ public inline fun RequestInit(method: String?, headers: dynamic, body: dynamic, return o } -public external open class Response(body: dynamic = null, init: ResponseInit = noImpl) : Body { +public external open class Response(body: dynamic = noImpl, init: ResponseInit = noImpl) : Body { open val type: String - get() = noImpl open val url: String - get() = noImpl open val redirected: Boolean - get() = noImpl open val status: Short - get() = noImpl open val ok: Boolean - get() = noImpl open val statusText: String - get() = noImpl open val headers: Headers - get() = noImpl open val body: dynamic - get() = noImpl open val trailer: dynamic - get() = noImpl - fun clone(): Response = noImpl + override val bodyUsed: Boolean + fun clone(): Response + override fun arrayBuffer(): dynamic + override fun blob(): dynamic + override fun formData(): dynamic + override fun json(): dynamic + override fun text(): dynamic companion object { - fun error(): Response = noImpl - fun redirect(url: String, status: Short = 302): Response = noImpl + fun error(): Response + fun redirect(url: String, status: Short = noImpl): Response } } public external interface ResponseInit { var status: Short? /* = 200 */ + get() = noImpl + set(value) = noImpl var statusText: String? /* = "OK" */ + get() = noImpl + set(value) = noImpl var headers: dynamic + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") diff --git a/js/js.libraries/src/generated/org.w3c.files.kt b/js/js.libraries/src/generated/org.w3c.files.kt index 5d5184ef9f6..db47aa6d720 100644 --- a/js/js.libraries/src/generated/org.w3c.files.kt +++ b/js/js.libraries/src/generated/org.w3c.files.kt @@ -22,17 +22,16 @@ import org.w3c.xhr.* public external open class Blob(blobParts: Array = noImpl, options: BlobPropertyBag = noImpl) { open val size: Int - get() = noImpl open val type: String - get() = noImpl open val isClosed: Boolean - get() = noImpl - fun slice(start: Int = noImpl, end: Int = noImpl, contentType: String = noImpl): Blob = noImpl - fun close(): Unit = noImpl + fun slice(start: Int = noImpl, end: Int = noImpl, contentType: String = noImpl): Blob + fun close(): Unit } public external interface BlobPropertyBag { var type: String? /* = "" */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -46,13 +45,13 @@ public inline fun BlobPropertyBag(type: String? = ""): BlobPropertyBag { public external open class File(fileBits: Array, fileName: String, options: FilePropertyBag = noImpl) : Blob(noImpl, options) { open val name: String - get() = noImpl open val lastModified: Int - get() = noImpl } public external interface FilePropertyBag : BlobPropertyBag { var lastModified: Int? + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -67,54 +66,38 @@ public inline fun FilePropertyBag(lastModified: Int?, type: String? = ""): FileP public external abstract class FileList { open val length: Int - get() = noImpl - fun item(index: Int): File? = noImpl + fun item(index: Int): File? @nativeGetter - operator fun get(index: Int): File? = noImpl + operator fun get(index: Int): File? } public external open class FileReader : EventTarget() { open val readyState: Short - get() = noImpl open val result: dynamic - get() = noImpl open val error: dynamic - get() = noImpl var onloadstart: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onprogress: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onload: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onabort: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onerror: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onloadend: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl - fun readAsArrayBuffer(blob: Blob): Unit = noImpl - fun readAsBinaryString(blob: Blob): Unit = noImpl - fun readAsText(blob: Blob, label: String = noImpl): Unit = noImpl - fun readAsDataURL(blob: Blob): Unit = noImpl - fun abort(): Unit = noImpl + fun readAsArrayBuffer(blob: Blob): Unit + fun readAsBinaryString(blob: Blob): Unit + fun readAsText(blob: Blob, label: String = noImpl): Unit + fun readAsDataURL(blob: Blob): Unit + fun abort(): Unit companion object { - val EMPTY: Short = 0 - val LOADING: Short = 1 - val DONE: Short = 2 + val EMPTY: Short + val LOADING: Short + val DONE: Short } } 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 - fun readAsDataURL(blob: Blob): String = noImpl + fun readAsArrayBuffer(blob: Blob): ArrayBuffer + fun readAsBinaryString(blob: Blob): String + fun readAsText(blob: Blob, label: String = noImpl): String + fun readAsDataURL(blob: Blob): String } diff --git a/js/js.libraries/src/generated/org.w3c.notifications.kt b/js/js.libraries/src/generated/org.w3c.notifications.kt index b328c65aab9..9a187ff556a 100644 --- a/js/js.libraries/src/generated/org.w3c.notifications.kt +++ b/js/js.libraries/src/generated/org.w3c.notifications.kt @@ -22,79 +22,86 @@ import org.w3c.xhr.* public external open class Notification(title: String, options: NotificationOptions = noImpl) : EventTarget() { var onclick: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl var onerror: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open val title: String - get() = noImpl open val dir: String - get() = noImpl open val lang: String - get() = noImpl open val body: String - get() = noImpl open val tag: String - get() = noImpl open val image: String - get() = noImpl open val icon: String - get() = noImpl open val badge: String - get() = noImpl open val sound: String - get() = noImpl - open val attribute: dynamic - get() = noImpl + open val vibrate: dynamic open val timestamp: Number - get() = noImpl open val renotify: Boolean - get() = noImpl open val silent: Boolean - get() = noImpl open val noscreen: Boolean - get() = noImpl open val requireInteraction: Boolean - get() = noImpl open val sticky: Boolean - get() = noImpl open val data: Any? - get() = noImpl - open val NotificationAction: dynamic - get() = noImpl - fun vibrate(): dynamic = noImpl - fun close(): Unit = noImpl + open val actions: dynamic + fun close(): Unit companion object { var permission: String - get() = noImpl - set(value) = noImpl var maxActions: Int - get() = noImpl - set(value) = noImpl - fun requestPermission(deprecatedCallback: (String) -> Unit = noImpl): dynamic = noImpl + fun requestPermission(deprecatedCallback: (String) -> Unit = noImpl): dynamic } } public external interface NotificationOptions { var dir: String? /* = "auto" */ + get() = noImpl + set(value) = noImpl var lang: String? /* = "" */ + get() = noImpl + set(value) = noImpl var body: String? /* = "" */ + get() = noImpl + set(value) = noImpl var tag: String? /* = "" */ + get() = noImpl + set(value) = noImpl var image: String? + get() = noImpl + set(value) = noImpl var icon: String? + get() = noImpl + set(value) = noImpl var badge: String? + get() = noImpl + set(value) = noImpl var sound: String? + get() = noImpl + set(value) = noImpl var vibrate: dynamic + get() = noImpl + set(value) = noImpl var timestamp: Number? + get() = noImpl + set(value) = noImpl var renotify: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var silent: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var noscreen: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var requireInteraction: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var sticky: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var data: Any? /* = null */ + get() = noImpl + set(value) = noImpl var actions: Array? /* = arrayOf() */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -124,8 +131,14 @@ public inline fun NotificationOptions(dir: String? = "auto", lang: String? = "", public external interface NotificationAction { var action: String? + get() = noImpl + set(value) = noImpl var title: String? + get() = noImpl + set(value) = noImpl var icon: String? + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -141,6 +154,8 @@ public inline fun NotificationAction(action: String?, title: String?, icon: Stri public external interface GetNotificationOptions { var tag: String? /* = "" */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -154,14 +169,16 @@ public inline fun GetNotificationOptions(tag: String? = ""): GetNotificationOpti public external open class NotificationEvent(type: String, eventInitDict: NotificationEventInit) : ExtendableEvent(type, eventInitDict) { open val notification: Notification - get() = noImpl open val action: String - get() = noImpl } public external interface NotificationEventInit : ExtendableEventInit { var notification: Notification? + get() = noImpl + set(value) = noImpl var action: String? /* = "" */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") diff --git a/js/js.libraries/src/generated/org.w3c.performance.kt b/js/js.libraries/src/generated/org.w3c.performance.kt index ef032f486c8..38e721fd146 100644 --- a/js/js.libraries/src/generated/org.w3c.performance.kt +++ b/js/js.libraries/src/generated/org.w3c.performance.kt @@ -22,73 +22,47 @@ import org.w3c.xhr.* public external abstract class Performance : EventTarget() { open val timing: PerformanceTiming - get() = noImpl open val navigation: PerformanceNavigation - get() = noImpl - fun now(): Double = noImpl + fun now(): Double } public external interface GlobalPerformance { val performance: Performance - get() = noImpl } public external abstract class PerformanceTiming { open val navigationStart: Int - get() = noImpl open val unloadEventStart: Int - get() = noImpl open val unloadEventEnd: Int - get() = noImpl open val redirectStart: Int - get() = noImpl open val redirectEnd: Int - get() = noImpl open val fetchStart: Int - get() = noImpl open val domainLookupStart: Int - get() = noImpl open val domainLookupEnd: Int - get() = noImpl open val connectStart: Int - get() = noImpl open val connectEnd: Int - get() = noImpl open val secureConnectionStart: Int - get() = noImpl open val requestStart: Int - get() = noImpl open val responseStart: Int - get() = noImpl open val responseEnd: Int - get() = noImpl open val domLoading: Int - get() = noImpl open val domInteractive: Int - get() = noImpl open val domContentLoadedEventStart: Int - get() = noImpl open val domContentLoadedEventEnd: Int - get() = noImpl open val domComplete: Int - get() = noImpl open val loadEventStart: Int - get() = noImpl open val loadEventEnd: Int - get() = noImpl } public external abstract class PerformanceNavigation { open val type: Short - get() = noImpl open val redirectCount: Short - get() = noImpl companion object { - val TYPE_NAVIGATE: Short = 0 - val TYPE_RELOAD: Short = 1 - val TYPE_BACK_FORWARD: Short = 2 - val TYPE_RESERVED: Short = 255 + val TYPE_NAVIGATE: Short + val TYPE_RELOAD: Short + val TYPE_BACK_FORWARD: Short + val TYPE_RESERVED: Short } } diff --git a/js/js.libraries/src/generated/org.w3c.workers.kt b/js/js.libraries/src/generated/org.w3c.workers.kt index c9408b22fb4..104bb50b336 100644 --- a/js/js.libraries/src/generated/org.w3c.workers.kt +++ b/js/js.libraries/src/generated/org.w3c.workers.kt @@ -22,88 +22,57 @@ import org.w3c.xhr.* public external abstract class ServiceWorkerRegistration : EventTarget() { open val installing: ServiceWorker? - get() = noImpl open val waiting: ServiceWorker? - get() = noImpl open val active: ServiceWorker? - get() = noImpl open val scope: String - get() = noImpl open var onupdatefound: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open val APISpace: dynamic - get() = noImpl - fun update(): dynamic = noImpl - fun unregister(): dynamic = noImpl - fun methodName(): dynamic = noImpl - fun showNotification(title: String, options: NotificationOptions = noImpl): dynamic = noImpl - fun getNotifications(filter: GetNotificationOptions = noImpl): dynamic = noImpl + fun update(): dynamic + fun unregister(): dynamic + fun methodName(): dynamic + fun showNotification(title: String, options: NotificationOptions = noImpl): dynamic + fun getNotifications(filter: GetNotificationOptions = noImpl): dynamic } public external abstract class ServiceWorkerGlobalScope : WorkerGlobalScope() { open val clients: Clients - get() = noImpl open val registration: ServiceWorkerRegistration - get() = noImpl open var oninstall: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onactivate: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onfetch: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onforeignfetch: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onmessage: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onfunctionalevent: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onnotificationclick: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onnotificationclose: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl - fun skipWaiting(): dynamic = noImpl + fun skipWaiting(): dynamic } public external abstract class ServiceWorker : EventTarget(), AbstractWorker, UnionMessagePortOrServiceWorker, UnionClientOrMessagePortOrServiceWorker { open val scriptURL: String - get() = noImpl open val state: String - get() = noImpl open var onstatechange: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl - fun postMessage(message: Any?, transfer: Array = noImpl): Unit = noImpl + fun postMessage(message: Any?, transfer: Array = noImpl): Unit } public external abstract class ServiceWorkerContainer : EventTarget() { open val controller: ServiceWorker? - get() = noImpl open val ready: dynamic - get() = noImpl open var oncontrollerchange: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onmessage: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl - fun register(scriptURL: String, options: RegistrationOptions = noImpl): dynamic = noImpl - fun getRegistration(clientURL: String = ""): dynamic = noImpl - fun getRegistrations(): dynamic = noImpl - fun startMessages(): Unit = noImpl + fun register(scriptURL: String, options: RegistrationOptions = noImpl): dynamic + fun getRegistration(clientURL: String = noImpl): dynamic + fun getRegistrations(): dynamic + fun startMessages(): Unit } public external interface RegistrationOptions { var scope: String? + get() = noImpl + set(value) = noImpl var type: String? /* = "classic" */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -118,23 +87,28 @@ public inline fun RegistrationOptions(scope: String?, type: String? = "classic") public external open class ServiceWorkerMessageEvent(type: String, eventInitDict: ServiceWorkerMessageEventInit = noImpl) : Event(type, eventInitDict) { open val data: Any? - get() = noImpl open val origin: String - get() = noImpl open val lastEventId: String - get() = noImpl open val source: UnionMessagePortOrServiceWorker? - get() = noImpl - open val MessagePort: dynamic - get() = noImpl + open val ports: dynamic } public external interface ServiceWorkerMessageEventInit : EventInit { var data: Any? + get() = noImpl + set(value) = noImpl var origin: String? + get() = noImpl + set(value) = noImpl var lastEventId: String? + get() = noImpl + set(value) = noImpl var source: UnionMessagePortOrServiceWorker? + get() = noImpl + set(value) = noImpl var ports: Array? + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -155,33 +129,32 @@ public inline fun ServiceWorkerMessageEventInit(data: Any?, origin: String?, las public external abstract class Client : UnionClientOrMessagePortOrServiceWorker { open val url: String - get() = noImpl open val frameType: String - get() = noImpl open val id: String - get() = noImpl - fun postMessage(message: Any?, transfer: Array = noImpl): Unit = noImpl + fun postMessage(message: Any?, transfer: Array = noImpl): Unit } public external abstract class WindowClient : Client() { open val visibilityState: dynamic - get() = noImpl open val focused: Boolean - get() = noImpl - fun focus(): dynamic = noImpl - fun navigate(url: String): dynamic = noImpl + fun focus(): dynamic + fun navigate(url: String): dynamic } 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 + fun get(id: String): dynamic + fun matchAll(options: ClientQueryOptions = noImpl): dynamic + fun openWindow(url: String): dynamic + fun claim(): dynamic } public external interface ClientQueryOptions { var includeUncontrolled: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var type: String? /* = "window" */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -195,7 +168,7 @@ public inline fun ClientQueryOptions(includeUncontrolled: Boolean? = false, type } public external open class ExtendableEvent(type: String, eventInitDict: ExtendableEventInit = noImpl) : Event(type, eventInitDict) { - fun waitUntil(f: dynamic): Unit = noImpl + fun waitUntil(f: dynamic): Unit } public external interface ExtendableEventInit : EventInit { @@ -213,12 +186,16 @@ public inline fun ExtendableEventInit(bubbles: Boolean? = false, cancelable: Boo } public external open class InstallEvent(type: String, eventInitDict: ExtendableEventInit = noImpl) : ExtendableEvent(type, eventInitDict) { - fun registerForeignFetch(options: ForeignFetchOptions): Unit = noImpl + fun registerForeignFetch(options: ForeignFetchOptions): Unit } public external interface ForeignFetchOptions { var scopes: Array? + get() = noImpl + set(value) = noImpl var origins: Array? + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -233,18 +210,21 @@ public inline fun ForeignFetchOptions(scopes: Array?, origins: Array? + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -342,20 +335,28 @@ public inline fun ExtendableMessageEventInit(data: Any?, origin: String?, lastEv } 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 - fun addAll(requests: Array): dynamic = noImpl - fun put(request: dynamic, response: Response): dynamic = noImpl - fun delete(request: dynamic, options: CacheQueryOptions = noImpl): dynamic = noImpl - fun keys(request: dynamic = noImpl, options: CacheQueryOptions = noImpl): dynamic = noImpl + fun match(request: dynamic, options: CacheQueryOptions = noImpl): dynamic + fun matchAll(request: dynamic = noImpl, options: CacheQueryOptions = noImpl): dynamic + fun add(request: dynamic): dynamic + fun addAll(requests: Array): dynamic + fun put(request: dynamic, response: Response): dynamic + fun delete(request: dynamic, options: CacheQueryOptions = noImpl): dynamic + fun keys(request: dynamic = noImpl, options: CacheQueryOptions = noImpl): dynamic } public external interface CacheQueryOptions { var ignoreSearch: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var ignoreMethod: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var ignoreVary: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var cacheName: String? + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -372,9 +373,17 @@ public inline fun CacheQueryOptions(ignoreSearch: Boolean? = false, ignoreMethod public external interface CacheBatchOperation { var type: String? + get() = noImpl + set(value) = noImpl var request: Request? + get() = noImpl + set(value) = noImpl var response: Response? + get() = noImpl + set(value) = noImpl var options: CacheQueryOptions? + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE") @@ -390,11 +399,11 @@ public inline fun CacheBatchOperation(type: String?, request: Request?, response } 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 - fun delete(cacheName: String): dynamic = noImpl - fun keys(): dynamic = noImpl + fun match(request: dynamic, options: CacheQueryOptions = noImpl): dynamic + fun has(cacheName: String): dynamic + fun open(cacheName: String): dynamic + fun delete(cacheName: String): dynamic + fun keys(): dynamic } public external open class FunctionalEvent : ExtendableEvent(noImpl, noImpl) { diff --git a/js/js.libraries/src/generated/org.w3c.xhr.kt b/js/js.libraries/src/generated/org.w3c.xhr.kt index 6b31631d269..d55c9da5629 100644 --- a/js/js.libraries/src/generated/org.w3c.xhr.kt +++ b/js/js.libraries/src/generated/org.w3c.xhr.kt @@ -22,26 +22,12 @@ import org.w3c.workers.* public external abstract class XMLHttpRequestEventTarget : EventTarget() { open var onloadstart: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onprogress: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onabort: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onerror: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onload: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var ontimeout: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open var onloadend: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl } public external abstract class XMLHttpRequestUpload : XMLHttpRequestEventTarget() { @@ -49,75 +35,62 @@ public external abstract class XMLHttpRequestUpload : XMLHttpRequestEventTarget( public external open class XMLHttpRequest : XMLHttpRequestEventTarget() { var onreadystatechange: ((Event) -> dynamic)? - get() = noImpl - set(value) = noImpl open val readyState: Short - get() = noImpl var timeout: Int - get() = noImpl - set(value) = noImpl var withCredentials: Boolean - get() = noImpl - set(value) = noImpl open val upload: XMLHttpRequestUpload - get() = noImpl open val responseURL: String - get() = noImpl open val status: Short - get() = noImpl open val statusText: String - get() = noImpl var responseType: String - get() = noImpl - set(value) = noImpl open val response: Any? - get() = noImpl open val responseText: String - get() = noImpl open val responseXML: Document? - get() = noImpl - fun open(method: String, url: String): Unit = noImpl - fun open(method: String, url: String, async: Boolean, username: String? = null, password: String? = null): Unit = noImpl - fun setRequestHeader(name: String, value: String): Unit = noImpl - fun send(body: dynamic = null): Unit = noImpl - fun abort(): Unit = noImpl - fun getResponseHeader(name: String): String? = noImpl - fun getAllResponseHeaders(): String = noImpl - fun overrideMimeType(mime: String): Unit = noImpl + fun open(method: String, url: String): Unit + fun open(method: String, url: String, async: Boolean, username: String? = noImpl, password: String? = noImpl): Unit + fun setRequestHeader(name: String, value: String): Unit + fun send(body: dynamic = noImpl): Unit + fun abort(): Unit + fun getResponseHeader(name: String): String? + fun getAllResponseHeaders(): String + fun overrideMimeType(mime: String): Unit companion object { - val UNSENT: Short = 0 - val OPENED: Short = 1 - val HEADERS_RECEIVED: Short = 2 - val LOADING: Short = 3 - val DONE: Short = 4 + val UNSENT: Short + val OPENED: Short + val HEADERS_RECEIVED: Short + val LOADING: Short + val DONE: Short } } 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 - fun get(name: String): dynamic = noImpl - fun getAll(name: String): Array = noImpl - fun has(name: String): Boolean = noImpl - fun set(name: String, value: String): Unit = noImpl - fun set(name: String, value: Blob, filename: String = noImpl): Unit = noImpl + fun append(name: String, value: String): Unit + fun append(name: String, value: Blob, filename: String = noImpl): Unit + fun delete(name: String): Unit + fun get(name: String): dynamic + fun getAll(name: String): Array + fun has(name: String): Boolean + fun set(name: String, value: String): Unit + fun set(name: String, value: Blob, filename: String = noImpl): Unit } public external open class ProgressEvent(type: String, eventInitDict: ProgressEventInit = noImpl) : Event(type, eventInitDict) { open val lengthComputable: Boolean - get() = noImpl open val loaded: Int - get() = noImpl open val total: Int - get() = noImpl } public external interface ProgressEventInit : EventInit { var lengthComputable: Boolean? /* = false */ + get() = noImpl + set(value) = noImpl var loaded: Int? /* = 0 */ + get() = noImpl + set(value) = noImpl var total: Int? /* = 0 */ + get() = noImpl + set(value) = noImpl } @Suppress("NOTHING_TO_INLINE")