summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.panel/grid-panel.html
blob: c41adf1a5d6b8b117294c23e8e97660ffeea157e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>gridPanel - 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="./grid-panel.html">gridPanel</a><br/>
<br/>
<h1>gridPanel</h1>
(js) <a name="pl.treksoft.kvision.panel$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridFlow, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, pl.treksoft.kvision.panel.GridJustifyContent, pl.treksoft.kvision.panel.GridAlignContent, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, 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">gridPanel</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridFlow, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, pl.treksoft.kvision.panel.GridJustifyContent, pl.treksoft.kvision.panel.GridAlignContent, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/autoColumns">autoColumns</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</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$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridFlow, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, pl.treksoft.kvision.panel.GridJustifyContent, pl.treksoft.kvision.panel.GridAlignContent, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/autoRows">autoRows</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</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$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridFlow, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, pl.treksoft.kvision.panel.GridJustifyContent, pl.treksoft.kvision.panel.GridAlignContent, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/autoFlow">autoFlow</span><span class="symbol">:</span>&nbsp;<a href="-grid-flow/index.html"><span class="identifier">GridFlow</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$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridFlow, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, pl.treksoft.kvision.panel.GridJustifyContent, pl.treksoft.kvision.panel.GridAlignContent, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/templateColumns">templateColumns</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</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$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridFlow, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, pl.treksoft.kvision.panel.GridJustifyContent, pl.treksoft.kvision.panel.GridAlignContent, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/templateRows">templateRows</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</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$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridFlow, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, pl.treksoft.kvision.panel.GridJustifyContent, pl.treksoft.kvision.panel.GridAlignContent, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/templateAreas">templateAreas</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</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><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridFlow, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, pl.treksoft.kvision.panel.GridJustifyContent, pl.treksoft.kvision.panel.GridAlignContent, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/columnGap">columnGap</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$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridFlow, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, pl.treksoft.kvision.panel.GridJustifyContent, pl.treksoft.kvision.panel.GridAlignContent, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/rowGap">rowGap</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$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridFlow, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, pl.treksoft.kvision.panel.GridJustifyContent, pl.treksoft.kvision.panel.GridAlignContent, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/justifyItems">justifyItems</span><span class="symbol">:</span>&nbsp;<a href="-grid-justify/index.html"><span class="identifier">GridJustify</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$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridFlow, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, pl.treksoft.kvision.panel.GridJustifyContent, pl.treksoft.kvision.panel.GridAlignContent, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/alignItems">alignItems</span><span class="symbol">:</span>&nbsp;<a href="-grid-align/index.html"><span class="identifier">GridAlign</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$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridFlow, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, pl.treksoft.kvision.panel.GridJustifyContent, pl.treksoft.kvision.panel.GridAlignContent, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/justifyContent">justifyContent</span><span class="symbol">:</span>&nbsp;<a href="-grid-justify-content/index.html"><span class="identifier">GridJustifyContent</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$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridFlow, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, pl.treksoft.kvision.panel.GridJustifyContent, pl.treksoft.kvision.panel.GridAlignContent, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/alignContent">alignContent</span><span class="symbol">:</span>&nbsp;<a href="-grid-align-content/index.html"><span class="identifier">GridAlignContent</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$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridFlow, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, pl.treksoft.kvision.panel.GridJustifyContent, pl.treksoft.kvision.panel.GridAlignContent, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, 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$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridFlow, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, pl.treksoft.kvision.panel.GridJustifyContent, pl.treksoft.kvision.panel.GridAlignContent, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="-grid-panel/index.html"><span class="identifier">GridPanel</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="-grid-panel/index.html"><span class="identifier">GridPanel</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>