From bc2152266d0aa8b749d5202d54f9e7c4a5db5b5b Mon Sep 17 00:00:00 2001
From: Robert Jaros Creates a Redux store with given reducer function and initial 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)
Parameters
S
- redux state type (@Serializable)S
- redux state type
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 @@
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.
-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. |
- - | -
-val stateSerializer: KSerializer<S>
-a serializer for the state type - |
-
+ + | +
+var strictDOM: Boolean
+Determines if the current widget is strictly bound to the DOM. + |
+|
@@ -252,6 +261,15 @@ | ||
+ + | +
+open fun getAttribute(name: String): String?
+Returns the value of an additional attribute. + |
+|
@@ -350,6 +368,15 @@ | ||
+ + | +
+open fun removeAttribute(name: String): Widget
+Removes the value of additional attribute. + |
+|
@@ -392,6 +419,15 @@ | ||
+ + | +
+open fun setAttribute(name: String, value: String): Widget
+Sets the value of additional attribute. + |
+|
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. Parametersdiff --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. |
|