diff options
Diffstat (limited to 'api1/pl.treksoft.kvision.html/-template')
6 files changed, 165 insertions, 0 deletions
diff --git a/api1/pl.treksoft.kvision.html/-template/content.html b/api1/pl.treksoft.kvision.html/-template/content.html new file mode 100644 index 00000000..0910458f --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-template/content.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Template.content - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Template</a> / <a href="./content.html">content</a><br/> +<br/> +<h1>content</h1> +<a name="pl.treksoft.kvision.html.Template$content"></a> +<code><span class="keyword">abstract</span> <span class="keyword">var </span><span class="identifier">content</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-template/index.html b/api1/pl.treksoft.kvision.html/-template/index.html new file mode 100644 index 00000000..4f3fe7a8 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-template/index.html @@ -0,0 +1,94 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Template - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">Template</a><br/> +<br/> +<h1>Template</h1> +<code><span class="keyword">interface </span><span class="identifier">Template</span></code> +<p>Handlebars templates helper interface.</p> +<h3>Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="content.html">content</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">var </span><span class="identifier">content</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code></td> +</tr> +<tr> +<td> +<p><a href="rich.html">rich</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">var </span><span class="identifier">rich</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="template.html">template</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">var </span><span class="identifier">template</span><span class="symbol">: </span><span class="symbol">(</span><span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">?</span></code></td> +</tr> +<tr> +<td> +<p><a href="template-data.html">templateData</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">templateData</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span></code> +<p>Handlebars template data object.</p> +</td> +</tr> +<tr> +<td> +<p><a href="templates.html">templates</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">var </span><span class="identifier">templates</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span> <span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span></code></td> +</tr> +</tbody> +</table> +<h3>Extension Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html">createInstance</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html#T"><span class="identifier">T</span></a></code> +<p>Helper function for creating JavaScript objects from dynamic constructors.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../set-data.html">setData</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</span><span class="symbol">></span> <a href="./index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/serializer">serializer</span><span class="symbol">:</span> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="../set-data.html#K"><span class="identifier">K</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">></span> <a href="./index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K)/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Extension function to set serializable object as a template data.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inheritors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/index.html">Tag</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Tag</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">Template</span></a></code> +<p>HTML tag component.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-template/rich.html b/api1/pl.treksoft.kvision.html/-template/rich.html new file mode 100644 index 00000000..66e3bcbd --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-template/rich.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Template.rich - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Template</a> / <a href="./rich.html">rich</a><br/> +<br/> +<h1>rich</h1> +<a name="pl.treksoft.kvision.html.Template$rich"></a> +<code><span class="keyword">abstract</span> <span class="keyword">var </span><span class="identifier">rich</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-template/template-data.html b/api1/pl.treksoft.kvision.html/-template/template-data.html new file mode 100644 index 00000000..4e4f7a9c --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-template/template-data.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Template.templateData - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Template</a> / <a href="./template-data.html">templateData</a><br/> +<br/> +<h1>templateData</h1> +<a name="pl.treksoft.kvision.html.Template$templateData"></a> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">templateData</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span></code> +<p>Handlebars template data object.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-template/template.html b/api1/pl.treksoft.kvision.html/-template/template.html new file mode 100644 index 00000000..d32194af --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-template/template.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Template.template - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Template</a> / <a href="./template.html">template</a><br/> +<br/> +<h1>template</h1> +<a name="pl.treksoft.kvision.html.Template$template"></a> +<code><span class="keyword">abstract</span> <span class="keyword">var </span><span class="identifier">template</span><span class="symbol">: </span><span class="symbol">(</span><span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">?</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-template/templates.html b/api1/pl.treksoft.kvision.html/-template/templates.html new file mode 100644 index 00000000..8a25f0d0 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-template/templates.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Template.templates - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Template</a> / <a href="./templates.html">templates</a><br/> +<br/> +<h1>templates</h1> +<a name="pl.treksoft.kvision.html.Template$templates"></a> +<code><span class="keyword">abstract</span> <span class="keyword">var </span><span class="identifier">templates</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span> <span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span></code> +</BODY> +</HTML> |