diff options
Diffstat (limited to 'api/pl.treksoft.kvision.redux')
13 files changed, 245 insertions, 14 deletions
diff --git a/api/pl.treksoft.kvision.redux/-action-creator.html b/api/pl.treksoft.kvision.redux/-action-creator.html new file mode 100644 index 00000000..bef0ae0f --- /dev/null +++ b/api/pl.treksoft.kvision.redux/-action-creator.html @@ -0,0 +1,13 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ActionCreator - kvision</title> +<link rel="stylesheet" href="../../style.css"> +</HEAD> +<BODY> +<a href="../index.html">kvision</a> / <a href="index.html">pl.treksoft.kvision.redux</a> / <a href="./-action-creator.html">ActionCreator</a><br/> +<br/> +<h1>ActionCreator</h1> +<code><span class="keyword">typealias </span><span class="identifier">ActionCreator</span><span class="symbol"><</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">S</span><span class="symbol">></span> <span class="symbol">=</span> <span class="symbol">(</span><a href="-dispatch.html"><span class="identifier">Dispatch</span></a><span class="symbol"><</span><a href="-action-creator.html#A"><span class="identifier">A</span></a><span class="symbol">></span><span class="symbol">,</span> <a href="-get-state.html"><span class="identifier">GetState</span></a><span class="symbol"><</span><a href="-action-creator.html#S"><span class="identifier">S</span></a><span class="symbol">></span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.redux/-redux-store/-init-.html b/api/pl.treksoft.kvision.redux/-redux-store/-init-.html index 0c7d04f5..c119ddfc 100644 --- a/api/pl.treksoft.kvision.redux/-redux-store/-init-.html +++ b/api/pl.treksoft.kvision.redux/-redux-store/-init-.html @@ -18,8 +18,8 @@ <code>A</code> - redux action type</p> <p><a name="reducer"></a> <code>reducer</code> - a reducer function</p> -<p><a name="state"></a> -<code>state</code> - an initial state</p> +<p><a name="initialState"></a> +<code>initialState</code> - an initial state</p> <p><a name="stateSerializer"></a> <code>stateSerializer</code> - a serializer for the state type</p> <p><a name="middlewares"></a> diff --git a/api/pl.treksoft.kvision.redux/-redux-store/dispatch.html b/api/pl.treksoft.kvision.redux/-redux-store/dispatch.html index 864840fe..d064b625 100644 --- a/api/pl.treksoft.kvision.redux/-redux-store/dispatch.html +++ b/api/pl.treksoft.kvision.redux/-redux-store/dispatch.html @@ -11,8 +11,8 @@ <a name="pl.treksoft.kvision.redux.ReduxStore$dispatch(pl.treksoft.kvision.redux.ReduxStore.A)"></a> <code><span class="keyword">fun </span><span class="identifier">dispatch</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.ReduxStore$dispatch(pl.treksoft.kvision.redux.ReduxStore.A)/action">action</span><span class="symbol">:</span> <a href="index.html#A"><span class="identifier">A</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code> <p>Dispatches a synchronous action object.</p> -<a name="pl.treksoft.kvision.redux.ReduxStore$dispatch(kotlin.Function2((kotlin.Function1((pl.treksoft.kvision.redux.ReduxStore.A, )), kotlin.Function0((pl.treksoft.kvision.redux.ReduxStore.S)), kotlin.Unit)))"></a> -<code><span class="keyword">fun </span><span class="identifier">dispatch</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.ReduxStore$dispatch(kotlin.Function2((kotlin.Function1((pl.treksoft.kvision.redux.ReduxStore.A, )), kotlin.Function0((pl.treksoft.kvision.redux.ReduxStore.S)), kotlin.Unit)))/action">action</span><span class="symbol">:</span> <span class="symbol">(</span><a href="../-dispatch.html"><span class="identifier">Dispatch</span></a><span class="symbol"><</span><a href="index.html#A"><span class="identifier">A</span></a><span class="symbol">></span><span class="symbol">,</span> <a href="../-get-state.html"><span class="identifier">GetState</span></a><span class="symbol"><</span><a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">></span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code> +<a name="pl.treksoft.kvision.redux.ReduxStore$dispatch(kotlin.Function2((kotlin.Function1((kotlin.Any, )), kotlin.Function0((pl.treksoft.kvision.redux.ReduxStore.S)), kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><span class="identifier">dispatch</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.ReduxStore$dispatch(kotlin.Function2((kotlin.Function1((kotlin.Any, )), kotlin.Function0((pl.treksoft.kvision.redux.ReduxStore.S)), kotlin.Unit)))/actionCreator">actionCreator</span><span class="symbol">:</span> <a href="../-action-creator.html"><span class="identifier">ActionCreator</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">,</span> <a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code> <p>Dispatches an asynchronous action function.</p> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.redux/-redux-store/index.html b/api/pl.treksoft.kvision.redux/-redux-store/index.html index 0c8f9a80..71c5567f 100644 --- a/api/pl.treksoft.kvision.redux/-redux-store/index.html +++ b/api/pl.treksoft.kvision.redux/-redux-store/index.html @@ -49,7 +49,7 @@ It requires @Serializable state.</p> <td> <code><span class="keyword">fun </span><span class="identifier">dispatch</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.ReduxStore$dispatch(pl.treksoft.kvision.redux.ReduxStore.A)/action">action</span><span class="symbol">:</span> <a href="index.html#A"><span class="identifier">A</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code> <p>Dispatches a synchronous action object.</p> -<code><span class="keyword">fun </span><span class="identifier">dispatch</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.ReduxStore$dispatch(kotlin.Function2((kotlin.Function1((pl.treksoft.kvision.redux.ReduxStore.A, )), kotlin.Function0((pl.treksoft.kvision.redux.ReduxStore.S)), kotlin.Unit)))/action">action</span><span class="symbol">:</span> <span class="symbol">(</span><a href="../-dispatch.html"><span class="identifier">Dispatch</span></a><span class="symbol"><</span><a href="index.html#A"><span class="identifier">A</span></a><span class="symbol">></span><span class="symbol">,</span> <a href="../-get-state.html"><span class="identifier">GetState</span></a><span class="symbol"><</span><a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">></span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code> +<code><span class="keyword">fun </span><span class="identifier">dispatch</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.ReduxStore$dispatch(kotlin.Function2((kotlin.Function1((kotlin.Any, )), kotlin.Function0((pl.treksoft.kvision.redux.ReduxStore.S)), kotlin.Unit)))/actionCreator">actionCreator</span><span class="symbol">:</span> <a href="../-action-creator.html"><span class="identifier">ActionCreator</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">,</span> <a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code> <p>Dispatches an asynchronous action function.</p> </td> </tr> diff --git a/api/pl.treksoft.kvision.redux/-state-binding/-init-.html b/api/pl.treksoft.kvision.redux/-state-binding/-init-.html index da648ab0..6f7b723f 100644 --- a/api/pl.treksoft.kvision.redux/-state-binding/-init-.html +++ b/api/pl.treksoft.kvision.redux/-state-binding/-init-.html @@ -8,8 +8,8 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.redux</a> / <a href="index.html">StateBinding</a> / <a href="./-init-.html"><init></a><br/> <br/> <h1><init></h1> -<a name="pl.treksoft.kvision.redux.StateBinding$<init>(pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.S, pl.treksoft.kvision.redux.StateBinding.A)), pl.treksoft.kvision.redux.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.CONT, pl.treksoft.kvision.redux.StateBinding.S, kotlin.Unit)))"></a> -<code><span class="identifier">StateBinding</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding$<init>(pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.S, pl.treksoft.kvision.redux.StateBinding.A)), pl.treksoft.kvision.redux.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.CONT, pl.treksoft.kvision.redux.StateBinding.S, kotlin.Unit)))/store">store</span><span class="symbol">:</span> <a href="../-redux-store/index.html"><span class="identifier">ReduxStore</span></a><span class="symbol"><</span><a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="index.html#A"><span class="identifier">A</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding$<init>(pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.S, pl.treksoft.kvision.redux.StateBinding.A)), pl.treksoft.kvision.redux.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.CONT, pl.treksoft.kvision.redux.StateBinding.S, kotlin.Unit)))/container">container</span><span class="symbol">:</span> <a href="index.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding$<init>(pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.S, pl.treksoft.kvision.redux.StateBinding.A)), pl.treksoft.kvision.redux.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.CONT, pl.treksoft.kvision.redux.StateBinding.S, kotlin.Unit)))/factory">factory</span><span class="symbol">:</span> <a href="index.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span></code> +<a name="pl.treksoft.kvision.redux.StateBinding$<init>(pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.S, pl.treksoft.kvision.redux.StateBinding.A)), pl.treksoft.kvision.redux.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.CONT, pl.treksoft.kvision.redux.StateBinding.S, pl.treksoft.kvision.redux.StateBinding.CONTENT)))"></a> +<code><span class="identifier">StateBinding</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding$<init>(pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.S, pl.treksoft.kvision.redux.StateBinding.A)), pl.treksoft.kvision.redux.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.CONT, pl.treksoft.kvision.redux.StateBinding.S, pl.treksoft.kvision.redux.StateBinding.CONTENT)))/store">store</span><span class="symbol">:</span> <a href="../-redux-store/index.html"><span class="identifier">ReduxStore</span></a><span class="symbol"><</span><a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="index.html#A"><span class="identifier">A</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding$<init>(pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.S, pl.treksoft.kvision.redux.StateBinding.A)), pl.treksoft.kvision.redux.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.CONT, pl.treksoft.kvision.redux.StateBinding.S, pl.treksoft.kvision.redux.StateBinding.CONTENT)))/container">container</span><span class="symbol">:</span> <a href="index.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding$<init>(pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.S, pl.treksoft.kvision.redux.StateBinding.A)), pl.treksoft.kvision.redux.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.CONT, pl.treksoft.kvision.redux.StateBinding.S, pl.treksoft.kvision.redux.StateBinding.CONTENT)))/factory">factory</span><span class="symbol">:</span> <a href="index.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="index.html#CONTENT"><span class="identifier">CONTENT</span></a><span class="symbol">)</span></code> <p>Creates StateBinding which binds the redux store with the given container.</p> <h3>Parameters</h3> <p><a name="S"></a> diff --git a/api/pl.treksoft.kvision.redux/-state-binding/index.html b/api/pl.treksoft.kvision.redux/-state-binding/index.html index 625c5c0b..a6eb4ab8 100644 --- a/api/pl.treksoft.kvision.redux/-state-binding/index.html +++ b/api/pl.treksoft.kvision.redux/-state-binding/index.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.redux</a> / <a href="./index.html">StateBinding</a><br/> <br/> <h1>StateBinding</h1> -<code><span class="keyword">class </span><span class="identifier">StateBinding</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">CONT</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">></span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<code><span class="keyword">class </span><span class="identifier">StateBinding</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">CONT</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">, </span><span class="identifier">CONTENT</span><span class="symbol">></span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> <p>A class which binds the redux store with the given container.</p> <h3>Constructors</h3> <table> @@ -18,7 +18,7 @@ <p><a href="-init-.html"><init></a></p> </td> <td> -<code><span class="identifier">StateBinding</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding$<init>(pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.S, pl.treksoft.kvision.redux.StateBinding.A)), pl.treksoft.kvision.redux.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.CONT, pl.treksoft.kvision.redux.StateBinding.S, kotlin.Unit)))/store">store</span><span class="symbol">:</span> <a href="../-redux-store/index.html"><span class="identifier">ReduxStore</span></a><span class="symbol"><</span><a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="index.html#A"><span class="identifier">A</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding$<init>(pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.S, pl.treksoft.kvision.redux.StateBinding.A)), pl.treksoft.kvision.redux.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.CONT, pl.treksoft.kvision.redux.StateBinding.S, kotlin.Unit)))/container">container</span><span class="symbol">:</span> <a href="index.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding$<init>(pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.S, pl.treksoft.kvision.redux.StateBinding.A)), pl.treksoft.kvision.redux.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.CONT, pl.treksoft.kvision.redux.StateBinding.S, kotlin.Unit)))/factory">factory</span><span class="symbol">:</span> <a href="index.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span></code> +<code><span class="identifier">StateBinding</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding$<init>(pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.S, pl.treksoft.kvision.redux.StateBinding.A)), pl.treksoft.kvision.redux.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.CONT, pl.treksoft.kvision.redux.StateBinding.S, pl.treksoft.kvision.redux.StateBinding.CONTENT)))/store">store</span><span class="symbol">:</span> <a href="../-redux-store/index.html"><span class="identifier">ReduxStore</span></a><span class="symbol"><</span><a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="index.html#A"><span class="identifier">A</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding$<init>(pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.S, pl.treksoft.kvision.redux.StateBinding.A)), pl.treksoft.kvision.redux.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.CONT, pl.treksoft.kvision.redux.StateBinding.S, pl.treksoft.kvision.redux.StateBinding.CONTENT)))/container">container</span><span class="symbol">:</span> <a href="index.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding$<init>(pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.S, pl.treksoft.kvision.redux.StateBinding.A)), pl.treksoft.kvision.redux.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.CONT, pl.treksoft.kvision.redux.StateBinding.S, pl.treksoft.kvision.redux.StateBinding.CONTENT)))/factory">factory</span><span class="symbol">:</span> <a href="index.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="index.html#CONTENT"><span class="identifier">CONTENT</span></a><span class="symbol">)</span></code> <p>Creates StateBinding which binds the redux store with the given container.</p> </td> </tr> @@ -70,6 +70,13 @@ </tr> <tr> <td> +<p><a href="../../pl.treksoft.kvision.core/-widget/popover-options.html">popoverOptions</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">popoverOptions</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-popover-options/index.html"><span class="identifier">PopoverOptions</span></a><span class="symbol">?</span></code></td> +</tr> +<tr> +<td> <p><a href="../../pl.treksoft.kvision.core/-widget/role.html">role</a></p> </td> <td> @@ -95,6 +102,13 @@ </tr> <tr> <td> +<p><a href="../../pl.treksoft.kvision.core/-widget/tooltip-options.html">tooltipOptions</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">tooltipOptions</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-tooltip-options/index.html"><span class="identifier">TooltipOptions</span></a><span class="symbol">?</span></code></td> +</tr> +<tr> +<td> <p><a href="../../pl.treksoft.kvision.core/-widget/visible.html">visible</a></p> </td> <td> @@ -128,6 +142,8 @@ <td> <code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$addCssClass(kotlin.String)/css">css</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> <p>Adds given value to the set of CSS classes generated in html code of current component.</p> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$addCssClass(pl.treksoft.kvision.core.Style)/css">css</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-style/index.html"><span class="identifier">Style</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Adds given style object to the set of CSS classes generated in html code of current component.</p> </td> </tr> <tr> @@ -137,6 +153,8 @@ <td> <code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addSurroundingCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$addSurroundingCssClass(kotlin.String)/css">css</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> <p>Adds given value to the set of CSS classes generated in html code of parent component.</p> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addSurroundingCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$addSurroundingCssClass(pl.treksoft.kvision.core.Style)/css">css</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-style/index.html"><span class="identifier">Style</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Adds given style object to the set of CSS classes generated in html code of parent component.</p> </td> </tr> <tr> @@ -186,6 +204,24 @@ </tr> <tr> <td> +<p><a href="../../pl.treksoft.kvision.core/-widget/disable-popover.html">disablePopover</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">disablePopover</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Disables popover for the current widget.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/disable-tooltip.html">disableTooltip</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">disableTooltip</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Disables tooltip for the current widget.</p> +</td> +</tr> +<tr> +<td> <p><a href="../../pl.treksoft.kvision.core/-widget/dispatch-event.html">dispatchEvent</a></p> </td> <td> @@ -193,6 +229,24 @@ </tr> <tr> <td> +<p><a href="../../pl.treksoft.kvision.core/-widget/enable-popover.html">enablePopover</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">enablePopover</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$enablePopover(pl.treksoft.kvision.core.PopoverOptions)/options">options</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-popover-options/index.html"><span class="identifier">PopoverOptions</span></a> <span class="symbol">=</span> PopoverOptions()<span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Enables popover for the current widget.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/enable-tooltip.html">enableTooltip</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">enableTooltip</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$enableTooltip(pl.treksoft.kvision.core.TooltipOptions)/options">options</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-tooltip-options/index.html"><span class="identifier">TooltipOptions</span></a> <span class="symbol">=</span> TooltipOptions()<span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Enables tooltip for the current widget.</p> +</td> +</tr> +<tr> +<td> <p><a href="../../pl.treksoft.kvision.core/-widget/get-element.html">getElement</a></p> </td> <td> @@ -265,11 +319,31 @@ </tr> <tr> <td> +<p><a href="../../pl.treksoft.kvision.core/-widget/hide-popover.html">hidePopover</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">hidePopover</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Hides popover for the current widget.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/hide-tooltip.html">hideTooltip</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">hideTooltip</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Hides tooltip for the current widget.</p> +</td> +</tr> +<tr> +<td> <p><a href="../../pl.treksoft.kvision.core/-widget/remove-css-class.html">removeCssClass</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$removeCssClass(kotlin.String)/css">css</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> <p>Removes given value from the set of CSS classes generated in html code of current component.</p> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$removeCssClass(pl.treksoft.kvision.core.Style)/css">css</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-style/index.html"><span class="identifier">Style</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Removes given style object from the set of CSS classes generated in html code of current component.</p> </td> </tr> <tr> @@ -288,6 +362,8 @@ <td> <code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeSurroundingCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$removeSurroundingCssClass(kotlin.String)/css">css</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> <p>Removes given value from the set of CSS classes generated in html code of parent component.</p> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeSurroundingCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$removeSurroundingCssClass(pl.treksoft.kvision.core.Style)/css">css</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-style/index.html"><span class="identifier">Style</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Removes given style object from the set of CSS classes generated in html code of parent component.</p> </td> </tr> <tr> @@ -360,6 +436,24 @@ </tr> <tr> <td> +<p><a href="../../pl.treksoft.kvision.core/-widget/show-popover.html">showPopover</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">showPopover</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Shows popover for the current widget.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/show-tooltip.html">showTooltip</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">showTooltip</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Shows tooltip for the current widget.</p> +</td> +</tr> +<tr> +<td> <p><a href="../../pl.treksoft.kvision.core/-widget/single-render.html">singleRender</a></p> </td> <td> @@ -391,10 +485,19 @@ <p><a href="state-binding.html">stateBinding</a></p> </td> <td> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">CONT</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">></span> <a href="state-binding.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="identifier">stateBinding</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding.Companion$stateBinding(pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.CONT, pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.A)), kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.CONT, pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.S, kotlin.Unit)))/store">store</span><span class="symbol">:</span> <a href="../-redux-store/index.html"><span class="identifier">ReduxStore</span></a><span class="symbol"><</span><a href="state-binding.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="state-binding.html#A"><span class="identifier">A</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding.Companion$stateBinding(pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.CONT, pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.A)), kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.CONT, pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.S, kotlin.Unit)))/factory">factory</span><span class="symbol">:</span> <a href="state-binding.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="state-binding.html#S"><span class="identifier">S</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">StateBinding</span></a><span class="symbol"><</span><a href="state-binding.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="state-binding.html#A"><span class="identifier">A</span></a><span class="symbol">,</span> <a href="state-binding.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">></span></code> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">CONT</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">></span> <a href="state-binding.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="identifier">stateBinding</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding.Companion$stateBinding(pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.CONT, pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.A)), kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.CONT, pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.S, kotlin.Unit)))/store">store</span><span class="symbol">:</span> <a href="../-redux-store/index.html"><span class="identifier">ReduxStore</span></a><span class="symbol"><</span><a href="state-binding.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="state-binding.html#A"><span class="identifier">A</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding.Companion$stateBinding(pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.CONT, pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.A)), kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.CONT, pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.S, kotlin.Unit)))/factory">factory</span><span class="symbol">:</span> <a href="state-binding.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="state-binding.html#S"><span class="identifier">S</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">StateBinding</span></a><span class="symbol"><</span><a href="state-binding.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="state-binding.html#A"><span class="identifier">A</span></a><span class="symbol">,</span> <a href="state-binding.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">,</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">></span></code> <p>DSL builder extension function.</p> </td> </tr> +<tr> +<td> +<p><a href="state-update.html">stateUpdate</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">CONT</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">, </span><span class="identifier">CONTENT</span><span class="symbol">></span> <a href="state-update.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="identifier">stateUpdate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding.Companion$stateUpdate(pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONT, pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.A)), kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONT, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONTENT)))/store">store</span><span class="symbol">:</span> <a href="../-redux-store/index.html"><span class="identifier">ReduxStore</span></a><span class="symbol"><</span><a href="state-update.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="state-update.html#A"><span class="identifier">A</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding.Companion$stateUpdate(pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONT, pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.A)), kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONT, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONTENT)))/factory">factory</span><span class="symbol">:</span> <a href="state-update.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="state-update.html#S"><span class="identifier">S</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="state-update.html#CONTENT"><span class="identifier">CONTENT</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-updateable/index.html"><span class="identifier">Updateable</span></a><span class="symbol"><</span><a href="state-update.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="state-update.html#CONTENT"><span class="identifier">CONTENT</span></a><span class="symbol">></span></code> +<p>DSL builder extension function for updateable redux content.</p> +</td> +</tr> </tbody> </table> <h3>Extension Functions</h3> diff --git a/api/pl.treksoft.kvision.redux/-state-binding/state-binding.html b/api/pl.treksoft.kvision.redux/-state-binding/state-binding.html index 0cb98aa0..b5d3c896 100644 --- a/api/pl.treksoft.kvision.redux/-state-binding/state-binding.html +++ b/api/pl.treksoft.kvision.redux/-state-binding/state-binding.html @@ -9,7 +9,7 @@ <br/> <h1>stateBinding</h1> <a name="pl.treksoft.kvision.redux.StateBinding.Companion$stateBinding(pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.CONT, pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.A)), kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.CONT, pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.S, kotlin.Unit)))"></a> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">CONT</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">></span> <a href="state-binding.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="identifier">stateBinding</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding.Companion$stateBinding(pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.CONT, pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.A)), kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.CONT, pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.S, kotlin.Unit)))/store">store</span><span class="symbol">:</span> <a href="../-redux-store/index.html"><span class="identifier">ReduxStore</span></a><span class="symbol"><</span><a href="state-binding.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="state-binding.html#A"><span class="identifier">A</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding.Companion$stateBinding(pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.CONT, pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.A)), kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.CONT, pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.S, kotlin.Unit)))/factory">factory</span><span class="symbol">:</span> <a href="state-binding.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="state-binding.html#S"><span class="identifier">S</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">StateBinding</span></a><span class="symbol"><</span><a href="state-binding.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="state-binding.html#A"><span class="identifier">A</span></a><span class="symbol">,</span> <a href="state-binding.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">></span></code> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">CONT</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">></span> <a href="state-binding.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="identifier">stateBinding</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding.Companion$stateBinding(pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.CONT, pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.A)), kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.CONT, pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.S, kotlin.Unit)))/store">store</span><span class="symbol">:</span> <a href="../-redux-store/index.html"><span class="identifier">ReduxStore</span></a><span class="symbol"><</span><a href="state-binding.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="state-binding.html#A"><span class="identifier">A</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding.Companion$stateBinding(pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.CONT, pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.A)), kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.CONT, pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding.S, kotlin.Unit)))/factory">factory</span><span class="symbol">:</span> <a href="state-binding.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="state-binding.html#S"><span class="identifier">S</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">StateBinding</span></a><span class="symbol"><</span><a href="state-binding.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="state-binding.html#A"><span class="identifier">A</span></a><span class="symbol">,</span> <a href="state-binding.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">,</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">></span></code> <p>DSL builder extension function.</p> <p>It takes the same parameters as the constructor of the built component.</p> </BODY> diff --git a/api/pl.treksoft.kvision.redux/-state-binding/state-update.html b/api/pl.treksoft.kvision.redux/-state-binding/state-update.html new file mode 100644 index 00000000..eb1038d8 --- /dev/null +++ b/api/pl.treksoft.kvision.redux/-state-binding/state-update.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>StateBinding.stateUpdate - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.redux</a> / <a href="index.html">StateBinding</a> / <a href="./state-update.html">stateUpdate</a><br/> +<br/> +<h1>stateUpdate</h1> +<a name="pl.treksoft.kvision.redux.StateBinding.Companion$stateUpdate(pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONT, pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.A)), kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONT, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONTENT)))"></a> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">CONT</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">, </span><span class="identifier">CONTENT</span><span class="symbol">></span> <a href="state-update.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="identifier">stateUpdate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding.Companion$stateUpdate(pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONT, pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.A)), kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONT, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONTENT)))/store">store</span><span class="symbol">:</span> <a href="../-redux-store/index.html"><span class="identifier">ReduxStore</span></a><span class="symbol"><</span><a href="state-update.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="state-update.html#A"><span class="identifier">A</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.redux.StateBinding.Companion$stateUpdate(pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONT, pl.treksoft.kvision.redux.ReduxStore((pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.A)), kotlin.Function2((pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONT, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.S, pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate.CONTENT)))/factory">factory</span><span class="symbol">:</span> <a href="state-update.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="state-update.html#S"><span class="identifier">S</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="state-update.html#CONTENT"><span class="identifier">CONTENT</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-updateable/index.html"><span class="identifier">Updateable</span></a><span class="symbol"><</span><a href="state-update.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="state-update.html#CONTENT"><span class="identifier">CONTENT</span></a><span class="symbol">></span></code> +<p>DSL builder extension function for updateable redux content.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.redux/-updateable/-init-.html b/api/pl.treksoft.kvision.redux/-updateable/-init-.html new file mode 100644 index 00000000..1693a5c8 --- /dev/null +++ b/api/pl.treksoft.kvision.redux/-updateable/-init-.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Updateable.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.redux</a> / <a href="index.html">Updateable</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.redux.Updateable$<init>(kotlin.Function1((kotlin.Function2((pl.treksoft.kvision.redux.Updateable.S, pl.treksoft.kvision.redux.Updateable.CONTENT, kotlin.Unit)), )))"></a> +<code><span class="identifier">Updateable</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.Updateable$<init>(kotlin.Function1((kotlin.Function2((pl.treksoft.kvision.redux.Updateable.S, pl.treksoft.kvision.redux.Updateable.CONTENT, kotlin.Unit)), )))/setUpdateState">setUpdateState</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="index.html#CONTENT"><span class="identifier">CONTENT</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span></code> +<p>A helper class for updateable redux content.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.redux/-updateable/index.html b/api/pl.treksoft.kvision.redux/-updateable/index.html new file mode 100644 index 00000000..3d44da08 --- /dev/null +++ b/api/pl.treksoft.kvision.redux/-updateable/index.html @@ -0,0 +1,54 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Updateable - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.redux</a> / <a href="./index.html">Updateable</a><br/> +<br/> +<h1>Updateable</h1> +<code><span class="keyword">class </span><span class="identifier">Updateable</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">CONTENT</span><span class="symbol">></span></code> +<p>A helper class for updateable redux content.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">Updateable</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.Updateable$<init>(kotlin.Function1((kotlin.Function2((pl.treksoft.kvision.redux.Updateable.S, pl.treksoft.kvision.redux.Updateable.CONTENT, kotlin.Unit)), )))/setUpdateState">setUpdateState</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="index.html#CONTENT"><span class="identifier">CONTENT</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span></code> +<p>A helper class for updateable redux content.</p> +</td> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="update-with.html">updateWith</a></p> +</td> +<td> +<code><span class="keyword">infix</span> <span class="keyword">fun </span><span class="identifier">updateWith</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.Updateable$updateWith(kotlin.Function2((pl.treksoft.kvision.redux.Updateable.S, pl.treksoft.kvision.redux.Updateable.CONTENT, kotlin.Unit)))/updateState">updateState</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="index.html#CONTENT"><span class="identifier">CONTENT</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code></td> +</tr> +</tbody> +</table> +<h3>Extension Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html">createInstance</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html#T"><span class="identifier">T</span></a></code> +<p>Helper function for creating JavaScript objects from dynamic constructors.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.redux/-updateable/update-with.html b/api/pl.treksoft.kvision.redux/-updateable/update-with.html new file mode 100644 index 00000000..02cfa4f6 --- /dev/null +++ b/api/pl.treksoft.kvision.redux/-updateable/update-with.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Updateable.updateWith - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.redux</a> / <a href="index.html">Updateable</a> / <a href="./update-with.html">updateWith</a><br/> +<br/> +<h1>updateWith</h1> +<a name="pl.treksoft.kvision.redux.Updateable$updateWith(kotlin.Function2((pl.treksoft.kvision.redux.Updateable.S, pl.treksoft.kvision.redux.Updateable.CONTENT, kotlin.Unit)))"></a> +<code><span class="keyword">infix</span> <span class="keyword">fun </span><span class="identifier">updateWith</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.redux.Updateable$updateWith(kotlin.Function2((pl.treksoft.kvision.redux.Updateable.S, pl.treksoft.kvision.redux.Updateable.CONTENT, kotlin.Unit)))/updateState">updateState</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="index.html#CONTENT"><span class="identifier">CONTENT</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.redux/create-redux-store.html b/api/pl.treksoft.kvision.redux/create-redux-store.html index cf75fdaf..e0782786 100644 --- a/api/pl.treksoft.kvision.redux/create-redux-store.html +++ b/api/pl.treksoft.kvision.redux/create-redux-store.html @@ -14,8 +14,8 @@ <h3>Parameters</h3> <p><a name="reducer"></a> <code>reducer</code> - a reducer function</p> -<p><a name="state"></a> -<code>state</code> - an initial state</p> +<p><a name="initialState"></a> +<code>initialState</code> - an initial state</p> <p><a name="middlewares"></a> <code>middlewares</code> - a list of optional Redux JS middlewares</p> </BODY> diff --git a/api/pl.treksoft.kvision.redux/index.html b/api/pl.treksoft.kvision.redux/index.html index 645e29e7..dc70e94d 100644 --- a/api/pl.treksoft.kvision.redux/index.html +++ b/api/pl.treksoft.kvision.redux/index.html @@ -27,10 +27,19 @@ It requires @Serializable state.</p> <p><a href="-state-binding/index.html">StateBinding</a></p> </td> <td> -<code><span class="keyword">class </span><span class="identifier">StateBinding</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">CONT</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">></span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<code><span class="keyword">class </span><span class="identifier">StateBinding</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">CONT</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">, </span><span class="identifier">CONTENT</span><span class="symbol">></span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> <p>A class which binds the redux store with the given container.</p> </td> </tr> +<tr> +<td> +<p><a href="-updateable/index.html">Updateable</a></p> +</td> +<td> +<code><span class="keyword">class </span><span class="identifier">Updateable</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">CONTENT</span><span class="symbol">></span></code> +<p>A helper class for updateable redux content.</p> +</td> +</tr> </tbody> </table> <h3>Type Aliases</h3> @@ -38,6 +47,13 @@ It requires @Serializable state.</p> <tbody> <tr> <td> +<p><a href="-action-creator.html">ActionCreator</a></p> +</td> +<td> +<code><span class="keyword">typealias </span><span class="identifier">ActionCreator</span><span class="symbol"><</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">S</span><span class="symbol">></span> <span class="symbol">=</span> <span class="symbol">(</span><a href="-dispatch.html"><span class="identifier">Dispatch</span></a><span class="symbol"><</span><a href="-action-creator.html#A"><span class="identifier">A</span></a><span class="symbol">></span><span class="symbol">,</span> <a href="-get-state.html"><span class="identifier">GetState</span></a><span class="symbol"><</span><a href="-action-creator.html#S"><span class="identifier">S</span></a><span class="symbol">></span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code></td> +</tr> +<tr> +<td> <p><a href="-dispatch.html">Dispatch</a></p> </td> <td> |