diff options
Diffstat (limited to 'api/pl.treksoft.kvision.i18n/-i18n/init.html')
-rw-r--r-- | api/pl.treksoft.kvision.i18n/-i18n/init.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/api/pl.treksoft.kvision.i18n/-i18n/init.html b/api/pl.treksoft.kvision.i18n/-i18n/init.html new file mode 100644 index 00000000..6e460023 --- /dev/null +++ b/api/pl.treksoft.kvision.i18n/-i18n/init.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>I18n.init - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.i18n</a> / <a href="index.html">I18n</a> / <a href="./init.html">init</a><br/> +<br/> +<h1>init</h1> +<a name="pl.treksoft.kvision.i18n.I18n$init(kotlin.Array((kotlin.String)), kotlin.Function0((kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><span class="identifier">init</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.i18n.I18n$init(kotlin.Array((kotlin.String)), kotlin.Function0((kotlin.Unit)))/languages">languages</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="identifier" id="pl.treksoft.kvision.i18n.I18n$init(kotlin.Array((kotlin.String)), kotlin.Function0((kotlin.Unit)))/initCallback">initCallback</span><span class="symbol">:</span> <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><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>I18n initialization function. +Should be called in the main function of the application.</p> +<h3>Parameters</h3> +<p><a name="languages"></a> +<code>languages</code> - a list of supported languages.</p> +<p><a name="initCallback"></a> +<code>initCallback</code> - a code to run after the initialization process is complete.</p> +</BODY> +</HTML> |