From bc2152266d0aa8b749d5202d54f9e7c4a5db5b5b Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 23 Jun 2019 14:12:10 +0200 Subject: API documentation for KVision 0.0.37 --- .../-widget/get-attribute.html | 21 ++++++++++++ api/pl.treksoft.kvision.core/-widget/index.html | 38 +++++++++++++++++++++- .../-widget/remove-attribute.html | 19 +++++++++++ .../-widget/set-attribute.html | 21 ++++++++++++ .../-widget/strict-d-o-m.html | 21 ++++++++++++ 5 files changed, 119 insertions(+), 1 deletion(-) create mode 100644 api/pl.treksoft.kvision.core/-widget/get-attribute.html create mode 100644 api/pl.treksoft.kvision.core/-widget/remove-attribute.html create mode 100644 api/pl.treksoft.kvision.core/-widget/set-attribute.html create mode 100644 api/pl.treksoft.kvision.core/-widget/strict-d-o-m.html (limited to 'api/pl.treksoft.kvision.core/-widget') diff --git a/api/pl.treksoft.kvision.core/-widget/get-attribute.html b/api/pl.treksoft.kvision.core/-widget/get-attribute.html new file mode 100644 index 00000000..52218802 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-widget/get-attribute.html @@ -0,0 +1,21 @@ + + + +Widget.getAttribute - kvision + + + +kvision / pl.treksoft.kvision.core / Widget / getAttribute
+
+

getAttribute

+ +open fun getAttribute(name: String): String? +

Overrides Component.getAttribute

+

Returns the value of an additional attribute.

+

Parameters

+

+name - the name of the attribute

+

Return
+the value of the attribute

+ + diff --git a/api/pl.treksoft.kvision.core/-widget/index.html b/api/pl.treksoft.kvision.core/-widget/index.html index a60e4697..ae49be9f 100644 --- a/api/pl.treksoft.kvision.core/-widget/index.html +++ b/api/pl.treksoft.kvision.core/-widget/index.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.core / Widget

Widget

-open class Widget : StyledComponent +open class Widget : StyledComponent, Component

Base widget class. The parent of all component classes.

A simple widget is rendered as HTML DIV element.

Types

@@ -106,6 +106,15 @@ +

strictDOM

+ + +var strictDOM: Boolean +

Determines if the current widget is strictly bound to the DOM.

+ + + +

surroundingSpan

@@ -785,6 +794,15 @@ +

getAttribute

+ + +open fun getAttribute(name: String): String? +

Returns the value of an additional attribute.

+ + + +

getElement

@@ -883,6 +901,15 @@ +

removeAttribute

+ + +open fun removeAttribute(name: String): Widget +

Removes the value of additional attribute.

+ + + +

removeCssClass

@@ -925,6 +952,15 @@ +

setAttribute

+ + +open fun setAttribute(name: String, value: String): Widget +

Sets the value of additional attribute.

+ + + +

setContextMenu

diff --git a/api/pl.treksoft.kvision.core/-widget/remove-attribute.html b/api/pl.treksoft.kvision.core/-widget/remove-attribute.html new file mode 100644 index 00000000..bd43215d --- /dev/null +++ b/api/pl.treksoft.kvision.core/-widget/remove-attribute.html @@ -0,0 +1,19 @@ + + + +Widget.removeAttribute - kvision + + + +kvision / pl.treksoft.kvision.core / Widget / removeAttribute
+
+

removeAttribute

+ +open fun removeAttribute(name: String): Widget +

Overrides Component.removeAttribute

+

Removes the value of additional attribute.

+

Parameters

+

+name - the name of the attribute

+ + diff --git a/api/pl.treksoft.kvision.core/-widget/set-attribute.html b/api/pl.treksoft.kvision.core/-widget/set-attribute.html new file mode 100644 index 00000000..6ab4ccca --- /dev/null +++ b/api/pl.treksoft.kvision.core/-widget/set-attribute.html @@ -0,0 +1,21 @@ + + + +Widget.setAttribute - kvision + + + +kvision / pl.treksoft.kvision.core / Widget / setAttribute
+
+

setAttribute

+ +open fun setAttribute(name: String, value: String): Widget +

Overrides Component.setAttribute

+

Sets the value of additional attribute.

+

Parameters

+

+name - the name of the attribute

+

+value - the value of the attribute

+ + diff --git a/api/pl.treksoft.kvision.core/-widget/strict-d-o-m.html b/api/pl.treksoft.kvision.core/-widget/strict-d-o-m.html new file mode 100644 index 00000000..da9715a0 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-widget/strict-d-o-m.html @@ -0,0 +1,21 @@ + + + +Widget.strictDOM - kvision + + + +kvision / pl.treksoft.kvision.core / Widget / strictDOM
+
+

strictDOM

+ +var strictDOM: Boolean +

Determines if the current widget is strictly bound to the DOM.

+

Getter
+

Determines if the current widget is strictly bound to the DOM.

+

+

Setter
+

Determines if the current widget is strictly bound to the DOM.

+

+ + -- cgit