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 --- .../-redux-store/-init-.html | 8 ++--- .../-redux-store/index.html | 19 ++---------- .../-redux-store/state-serializer.html | 15 --------- .../-state-binding/index.html | 36 ++++++++++++++++++++++ .../create-redux-store.html | 2 +- api/pl.treksoft.kvision.redux/index.html | 3 +- 6 files changed, 43 insertions(+), 40 deletions(-) delete mode 100644 api/pl.treksoft.kvision.redux/-redux-store/state-serializer.html (limited to 'api/pl.treksoft.kvision.redux') diff --git a/api/pl.treksoft.kvision.redux/-redux-store/-init-.html b/api/pl.treksoft.kvision.redux/-redux-store/-init-.html index c119ddfc..c6d3d906 100644 --- a/api/pl.treksoft.kvision.redux/-redux-store/-init-.html +++ b/api/pl.treksoft.kvision.redux/-redux-store/-init-.html @@ -8,20 +8,18 @@ kvision / pl.treksoft.kvision.redux / ReduxStore / <init>

<init>

- -ReduxStore(reducer: <ERROR CLASS><S, A>, initialState: S, stateSerializer: KSerializer<S>, vararg middlewares: dynamic) + +ReduxStore(reducer: <ERROR CLASS><S, A>, initialState: S, vararg middlewares: dynamic)

Creates a Redux store with given reducer function and initial state.

Parameters

-S - redux state type (@Serializable)

+S - redux state type

A - redux action type

reducer - a reducer function

initialState - an initial state

-

-stateSerializer - a serializer for the state type

middlewares - a list of optional Redux JS middlewares

Constructor
diff --git a/api/pl.treksoft.kvision.redux/-redux-store/index.html b/api/pl.treksoft.kvision.redux/-redux-store/index.html index 71c5567f..82f9cfa0 100644 --- a/api/pl.treksoft.kvision.redux/-redux-store/index.html +++ b/api/pl.treksoft.kvision.redux/-redux-store/index.html @@ -9,8 +9,7 @@

ReduxStore

class ReduxStore<S : Any, A> -

A class implementing redux pattern backed by the original Redux JS library. -It requires @Serializable state.

+

A class implementing redux pattern backed by the original Redux JS library.

Constructors

@@ -19,26 +18,12 @@ It requires @Serializable state.

<init>

-ReduxStore(reducer: <ERROR CLASS><S, A>, initialState: S, stateSerializer: KSerializer<S>, vararg middlewares: dynamic) +ReduxStore(reducer: <ERROR CLASS><S, A>, initialState: S, vararg middlewares: dynamic)

Creates a Redux store with given reducer function and initial state.

-

Properties

- - - - - - - -
-

stateSerializer

-
-val stateSerializer: KSerializer<S> -

a serializer for the state type

-

Functions

diff --git a/api/pl.treksoft.kvision.redux/-redux-store/state-serializer.html b/api/pl.treksoft.kvision.redux/-redux-store/state-serializer.html deleted file mode 100644 index ea96ec0c..00000000 --- a/api/pl.treksoft.kvision.redux/-redux-store/state-serializer.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -ReduxStore.stateSerializer - kvision - - - -kvision / pl.treksoft.kvision.redux / ReduxStore / stateSerializer
-
-

stateSerializer

- -val stateSerializer: KSerializer<S> -

a serializer for the state type

- - diff --git a/api/pl.treksoft.kvision.redux/-state-binding/index.html b/api/pl.treksoft.kvision.redux/-state-binding/index.html index b4e580f4..5c9340c5 100644 --- a/api/pl.treksoft.kvision.redux/-state-binding/index.html +++ b/api/pl.treksoft.kvision.redux/-state-binding/index.html @@ -86,6 +86,15 @@ + + + + + + + + + + + + + + + + -- cgit
+

strictDOM

+
+var strictDOM: Boolean +

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

+

surroundingSpan

@@ -252,6 +261,15 @@
+

getAttribute

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

Returns the value of an additional attribute.

+

getElement

@@ -350,6 +368,15 @@
+

removeAttribute

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

Removes the value of additional attribute.

+

removeCssClass

@@ -392,6 +419,15 @@
+

setAttribute

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

Sets the value of additional attribute.

+

setContextMenu

diff --git a/api/pl.treksoft.kvision.redux/create-redux-store.html b/api/pl.treksoft.kvision.redux/create-redux-store.html index e0782786..05a78596 100644 --- a/api/pl.treksoft.kvision.redux/create-redux-store.html +++ b/api/pl.treksoft.kvision.redux/create-redux-store.html @@ -9,7 +9,7 @@

createReduxStore

-inline fun <reified S : Any, A> createReduxStore(noinline reducer: <ERROR CLASS><S, A>, initialState: S, vararg middlewares: dynamic): ReduxStore<S, A> +fun <S : Any, A> createReduxStore(reducer: <ERROR CLASS><S, A>, initialState: S, vararg middlewares: dynamic): ReduxStore<S, A>

An inline helper function for creating Redux store.

Parameters

diff --git a/api/pl.treksoft.kvision.redux/index.html b/api/pl.treksoft.kvision.redux/index.html index dc70e94d..74e4906b 100644 --- a/api/pl.treksoft.kvision.redux/index.html +++ b/api/pl.treksoft.kvision.redux/index.html @@ -18,8 +18,7 @@

class ReduxStore<S : Any, A> -

A class implementing redux pattern backed by the original Redux JS library. -It requires @Serializable state.

+

A class implementing redux pattern backed by the original Redux JS library.