From d8cd67062b8de6e8398dc6dfd00d201200c82414 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 9 Feb 2018 13:40:35 +0100 Subject: API doc and readme --- .../pl.treksoft.kvision.core/-component/index.html | 137 +++++++++++++++++++++ 1 file changed, 137 insertions(+) create mode 100644 docs/api/pl.treksoft.kvision.core/-component/index.html (limited to 'docs/api/pl.treksoft.kvision.core/-component/index.html') diff --git a/docs/api/pl.treksoft.kvision.core/-component/index.html b/docs/api/pl.treksoft.kvision.core/-component/index.html new file mode 100644 index 00000000..fb29f342 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-component/index.html @@ -0,0 +1,137 @@ + + + +Component - kvision + + + +kvision / pl.treksoft.kvision.core / Component
+
+

Component

+interface Component +

Base interface for all components.

+

Properties

+ + + + + + + + + + + +
+

parent

+
+abstract var parent: Component? +

Parent of the current component.

+
+

visible

+
+abstract var visible: Boolean +

Visibility state of the current component.

+
+

Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

addCssClass

+
+abstract fun addCssClass(css: String): Component +

Adds given value to the set of CSS classes generated in html code of current component.

+
+

addSurroundingCssClass

+
+abstract fun addSurroundingCssClass(css: String): Component +

Adds given value to the set of CSS classes generated in html code of parent component.

+
+

getElement

+
+abstract fun getElement(): Node? +

Returns DOM element bound to the current component.

+
+

getElementJQuery

+
+abstract fun getElementJQuery(): JQuery? +

Returns JQuery element bound to the current component.

+
+

getElementJQueryD

+
+abstract fun getElementJQueryD(): dynamic +

Returns JQuery element bound to the current component as a dynamic type.

+
+

removeCssClass

+
+abstract fun removeCssClass(css: String): Component +

Removes given value from the set of CSS classes generated in html code of current component.

+
+

removeSurroundingCssClass

+
+abstract fun removeSurroundingCssClass(css: String): Component +

Removes given value from the set of CSS classes generated in html code of parent component.

+
+

Inheritors

+ + + + + + + + + + + + + + + +
+

Container

+
+interface Container : Component +

Base interface for all containers.

+
+

FormControl

+
+interface FormControl : Component +

Base interface of a form control.

+
+

StyledComponent

+
+abstract class StyledComponent : Component +

Base class for components supporting CSS styling.

+
+ + -- cgit