From 4ffe1bee99a55e985bb71dacff3839263cb4316f Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Tue, 3 Mar 2020 10:53:33 +0100 Subject: API Documentation for KVision 3.0.0 --- api/index-outline.html | 545 +++++++++++++++++++++++++++++++++---------------- 1 file changed, 373 insertions(+), 172 deletions(-) (limited to 'api/index-outline.html') diff --git a/api/index-outline.html b/api/index-outline.html index 243974f9..ed808070 100644 --- a/api/index-outline.html +++ b/api/index-outline.html @@ -61,10 +61,10 @@ var maxlength: Int?
var placeholder: String?
var readonly: Boolean?
+open fun removeEventListener(id: Int): Widget
open fun removeEventListeners(): Widget
var rich: Boolean
-open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
-open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Int
var startValue: String?
open var value: String?
@@ -523,9 +523,7 @@ -Background(image: ResString? = null, positionX: CssSize? = null, positionY: CssSize? = null, sizeX: CssSize? = null, sizeY: CssSize? = null, size: BgSize? = null, repeat: BgRepeat? = null, origin: BgOrigin? = null, clip: BgClip? = null, attachment: BgAttach? = null)
-Background(color: Int, image: ResString? = null, positionX: CssSize? = null, positionY: CssSize? = null, sizeX: CssSize? = null, sizeY: CssSize? = null, size: BgSize? = null, repeat: BgRepeat? = null, origin: BgOrigin? = null, clip: BgClip? = null, attachment: BgAttach? = null)
-Background(color: Col, image: ResString? = null, positionX: CssSize? = null, positionY: CssSize? = null, sizeX: CssSize? = null, sizeY: CssSize? = null, size: BgSize? = null, repeat: BgRepeat? = null, origin: BgOrigin? = null, clip: BgClip? = null, attachment: BgAttach? = null)
+Background(color: Color? = null, image: ResString? = null, positionX: CssSize? = null, positionY: CssSize? = null, sizeX: CssSize? = null, sizeY: CssSize? = null, size: BgSize? = null, repeat: BgRepeat? = null, origin: BgOrigin? = null, clip: BgClip? = null, attachment: BgAttach? = null)
fun toString(): String
@@ -755,9 +753,7 @@ -Border(width: CssSize? = null, style: BorderStyle? = null)
-Border(width: CssSize? = null, style: BorderStyle? = null, color: Int)
-Border(width: CssSize? = null, style: BorderStyle? = null, color: Col)
+Border(width: CssSize? = null, style: BorderStyle? = null, color: Color? = null)
fun toString(): String
@@ -2826,10 +2822,10 @@ val invalidFeedback: InvalidFeedback
var label: String?
open fun onClick(handler: CheckBox.(MouseEvent) -> Unit): CheckBox
+open fun removeEventListener(id: Int): Widget
open fun removeEventListeners(): Widget
var rich: Boolean
-open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
-open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Int
var startValue: Boolean
var style: CheckBoxStyle?
open fun styleForHorizontalFormPanel(horizontalRatio: FormHorizontalRatio): Unit
@@ -3214,9 +3210,11 @@ -Color(color: Int)
-Color(color: Col)
+Color(color: String? = null)
fun asString(): String
+val color: String?
+fun hex(color: Int): Color
+fun name(color: Col): Color
fun toString(): String
@@ -3744,6 +3742,56 @@ typealias CssSize = Pair<Number, UNIT>
+enum class Cursor
+