summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.panel/flex-panel.html
blob: c82da62806cee7139387cc369cf0ef5d795573c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>flexPanel - 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.panel</a>&nbsp;/&nbsp;<a href="./flex-panel.html">flexPanel</a><br/>
<br/>
<h1>flexPanel</h1>
(js) <a name="pl.treksoft.kvision.panel$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))"></a>
<code><span class="keyword">fun </span><a href="../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">flexPanel</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/direction">direction</span><span class="symbol">:</span>&nbsp;<a href="-flex-dir/index.html"><span class="identifier">FlexDir</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/wrap">wrap</span><span class="symbol">:</span>&nbsp;<a href="-flex-wrap/index.html"><span class="identifier">FlexWrap</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/justify">justify</span><span class="symbol">:</span>&nbsp;<a href="-flex-justify/index.html"><span class="identifier">FlexJustify</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/alignItems">alignItems</span><span class="symbol">:</span>&nbsp;<a href="-flex-align-items/index.html"><span class="identifier">FlexAlignItems</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/alignContent">alignContent</span><span class="symbol">:</span>&nbsp;<a href="-flex-align-content/index.html"><span class="identifier">FlexAlignContent</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/spacing">spacing</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/classes">classes</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span>&nbsp;<span class="symbol">=</span>&nbsp;setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="-flex-panel/index.html"><span class="identifier">FlexPanel</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="-flex-panel/index.html"><span class="identifier">FlexPanel</span></a></code>
<p>DSL builder extension function.</p>
<p>It takes the same parameters as the constructor of the built component.</p>
</BODY>
</HTML>