aboutsummaryrefslogtreecommitdiff
path: root/docs/api/pl.treksoft.kvision.form.time/-date-time/-init-.html
blob: d70378566901a9ea913010a70f404e9e1541d3f4 (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
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>DateTime.<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.form.time</a>&nbsp;/&nbsp;<a href="index.html">DateTime</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<a name="pl.treksoft.kvision.form.time.DateTime$&lt;init&gt;(kotlin.js.Date, kotlin.String, kotlin.String, kotlin.Boolean)"></a>
<code><span class="identifier">DateTime</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.time.DateTime$<init>(kotlin.js.Date, kotlin.String, kotlin.String, kotlin.Boolean)/value">value</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-date/index.html"><span class="identifier">Date</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.time.DateTime$<init>(kotlin.js.Date, kotlin.String, kotlin.String, kotlin.Boolean)/format">format</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>&nbsp;<span class="symbol">=</span>&nbsp;"YYYY-MM-DD HH:mm"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.time.DateTime$<init>(kotlin.js.Date, kotlin.String, kotlin.String, kotlin.Boolean)/label">label</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.form.time.DateTime$<init>(kotlin.js.Date, kotlin.String, kotlin.String, kotlin.Boolean)/rich">rich</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;false<span class="symbol">)</span></code>
<h3>Parameters</h3>
<p><a name="value"></a>
<code>value</code> - date/time input value</p>
<p><a name="format"></a>
<code>format</code> - date/time format (default YYYY-MM-DD HH:mm)</p>
<p><a name="label"></a>
<code>label</code> - label text bound to the input element</p>
<p><a name="rich"></a>
<code>rich</code> - determines if <a href="-init-.html#pl.treksoft.kvision.form.time.DateTime$<init>(kotlin.js.Date, kotlin.String, kotlin.String, kotlin.Boolean)/label">label</a> can contain HTML code</p>
<p><strong>Constructor</strong><br/>
</p>
</BODY>
</HTML>