aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.core/-style/-init-.html
blob: 86cc4aec50b20737330b3c34cdb5938f794754a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Style.<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.core</a>&nbsp;/&nbsp;<a href="index.html">Style</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
(js) <a name="pl.treksoft.kvision.core.Style$&lt;init&gt;(kotlin.String, pl.treksoft.kvision.core.Style, kotlin.Function1((pl.treksoft.kvision.core.Style, kotlin.Unit)))"></a>
<code><span class="identifier">Style</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Style$<init>(kotlin.String, pl.treksoft.kvision.core.Style, kotlin.Function1((pl.treksoft.kvision.core.Style, kotlin.Unit)))/className">className</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.core.Style$<init>(kotlin.String, pl.treksoft.kvision.core.Style, kotlin.Function1((pl.treksoft.kvision.core.Style, kotlin.Unit)))/parentStyle">parentStyle</span><span class="symbol">:</span>&nbsp;<a href="index.html"><span class="identifier">Style</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Style$<init>(kotlin.String, pl.treksoft.kvision.core.Style, kotlin.Function1((pl.treksoft.kvision.core.Style, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="index.html"><span class="identifier">Style</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></code>
<h3>Parameters</h3>
<p><a name="className"></a>
<code>className</code> - optional name of the CSS class, it will be generated if not specified</p>
<p><a name="parentStyle"></a>
<code>parentStyle</code> - parent CSS style object</p>
<p><a name="init"></a>
<code>init</code> - an initializer extension function</p>
<p><strong>Constructor</strong><br/>
</p>
</BODY>
</HTML>