From a1331da2233a7198af89a9db2ec743a430b89362 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Tue, 3 Apr 2018 17:33:29 +0200 Subject: Documentation update for KVision 0.0.12 --- api/index-outline.html | 24 +++++++++++++--------- .../-drop-down/-init-.html | 6 ++++-- .../-drop-down/drop-down.html | 4 ++-- .../-drop-down/index.html | 4 ++-- .../-iframe/get-iframe-window.html | 17 +++++++++++++++ api/pl.treksoft.kvision.html/-iframe/index.html | 9 ++++++++ api/pl.treksoft.kvision.html/-link/index.html | 9 ++++++++ api/pl.treksoft.kvision.html/-link/on-click.html | 15 ++++++++++++++ api/pl.treksoft.kvision.navbar/-navbar/-init-.html | 2 +- api/pl.treksoft.kvision.navbar/-navbar/index.html | 8 ++++---- api/pl.treksoft.kvision.navbar/-navbar/label.html | 2 +- .../-navbar/navbar-panel.html | 16 --------------- api/pl.treksoft.kvision.navbar/-navbar/navbar.html | 16 +++++++++++++++ 13 files changed, 94 insertions(+), 38 deletions(-) create mode 100644 api/pl.treksoft.kvision.html/-iframe/get-iframe-window.html create mode 100644 api/pl.treksoft.kvision.html/-link/on-click.html delete mode 100644 api/pl.treksoft.kvision.navbar/-navbar/navbar-panel.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar/navbar.html diff --git a/api/index-outline.html b/api/index-outline.html index 00272fc4..9b692f3a 100644 --- a/api/index-outline.html +++ b/api/index-outline.html @@ -1106,13 +1106,13 @@ -DropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, forNavbar: Boolean = false, classes: Set<String> = setOf())
+DropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, forNavbar: Boolean = false, withCaret: Boolean = true, classes: Set<String> = setOf())
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
protected open fun afterInsert(node: VNode): Unit
var block: Boolean
var disabled: Boolean
-fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, forNavbar: Boolean = false, classes: Set<String> = setOf(), init: DropDown.() -> Unit = null): DropDown
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, forNavbar: Boolean = false, withCaret: Boolean = true, classes: Set<String> = setOf(), init: DropDown.() -> Unit = null): DropDown
var dropup: Boolean
val forNavbar: Boolean
open fun getChildren(): List<Component>
@@ -1764,6 +1764,7 @@ Iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, classes: Set<String> = setOf())
+open fun getIframeWindow(): Window
protected open fun getSnAttrs(): List<StringPair>
fun Container.iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, classes: Set<String> = setOf(), init: Iframe.() -> Unit = null): Iframe
var iframeHeight: Int?
@@ -1874,6 +1875,7 @@ fun Container.link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link
fun ListTag.linkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link
fun DropDown.linkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link
+open fun onClick(handler: Link.(MouseEvent) -> Unit): Link
protected open fun render(): VNode
var url: String?
@@ -2016,14 +2018,14 @@ -Navbar(label: String = "", type: NavbarType? = null, inverted: Boolean = false, classes: Set<String> = setOf(), init: Navbar.() -> Unit = null)
+Navbar(label: String? = null, type: NavbarType? = null, inverted: Boolean = false, classes: Set<String> = setOf(), init: Navbar.() -> Unit = null)
open fun add(child: Component): Navbar
open fun addAll(children: List<Component>): Navbar
open fun getChildren(): List<Component>
protected open fun getSnClass(): List<StringBoolPair>
var inverted: Boolean
-var label: String
-fun Container.navbarPanel(text: String = "", type: NavbarType? = null,