aboutsummaryrefslogtreecommitdiff
path: root/api1/pl.treksoft.kvision.redux/-state-binding/-init-.html
blob: 6f7b723fd15a57b8947c448a8f81f7af2d0d3f84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>StateBinding.<init> - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.redux</a>&nbsp;/&nbsp;<a href="index.html">StateBinding</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<a name="pl.treksoft.kvision.redux.StateBinding$&lt;init&gt;(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>&nbsp;<a href="../-redux-store/index.html"><span class="identifier">ReduxStore</span></a><span class="symbol">&lt;</span><a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">,</span>&nbsp;<a href="index.html#A"><span class="identifier">A</span></a><span class="symbol">&gt;</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>&nbsp;<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>&nbsp;<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>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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>
<code>S</code> - redux state type</p>
<p><a name="A"></a>
<code>A</code> - redux action type</p>
<p><a name="CONT"></a>
<code>CONT</code> - container type</p>
<p><a name="store"></a>
<code>store</code> - a redux store</p>
<p><a name="container"></a>
<code>container</code> - a container</p>
<p><a name="factory"></a>
<code>factory</code> - a function which re-creates the view based on the given state</p>
<p><strong>Constructor</strong><br/>
Creates StateBinding which binds the redux store with the given container.</p>
</BODY>
</HTML>