diff options
Diffstat (limited to 'docs/api/pl.treksoft.kvision.html/-image')
8 files changed, 84 insertions, 8 deletions
diff --git a/docs/api/pl.treksoft.kvision.html/-image/-init-.html b/docs/api/pl.treksoft.kvision.html/-image/-init-.html index 273c2b0b..b0677b33 100644 --- a/docs/api/pl.treksoft.kvision.html/-image/-init-.html +++ b/docs/api/pl.treksoft.kvision.html/-image/-init-.html @@ -8,8 +8,8 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Image</a> / <a href="./-init-.html"><init></a><br/> <br/> <h1><init></h1> -<a name="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))"></a> -<code><span class="identifier">Image</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/src">src</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/alt">alt</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/responsive">responsive</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/shape">shape</span><span class="symbol">:</span> <a href="../-i-m-a-g-e-s-h-a-p-e/index.html"><span class="identifier">IMAGESHAPE</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/centered">centered</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</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> setOf()<span class="symbol">)</span></code> +<a name="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))"></a> +<code><span class="identifier">Image</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/src">src</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/alt">alt</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/responsive">responsive</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/shape">shape</span><span class="symbol">:</span> <a href="../-image-shape/index.html"><span class="identifier">ImageShape</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/centered">centered</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</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> setOf()<span class="symbol">)</span></code> <h3>Parameters</h3> <p><a name="src"></a> <code>src</code> - image URL</p> diff --git a/docs/api/pl.treksoft.kvision.html/-image/alt.html b/docs/api/pl.treksoft.kvision.html/-image/alt.html index 1013f25a..3714f0e8 100644 --- a/docs/api/pl.treksoft.kvision.html/-image/alt.html +++ b/docs/api/pl.treksoft.kvision.html/-image/alt.html @@ -11,5 +11,11 @@ <a name="pl.treksoft.kvision.html.Image$alt"></a> <code><span class="keyword">var </span><span class="identifier">alt</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> <p>The alternative text of the image.</p> +<p><strong>Getter</strong><br/> +<p>The alternative text of the image.</p> +</p> +<p><strong>Setter</strong><br/> +<p>The alternative text of the image.</p> +</p> </BODY> </HTML> diff --git a/docs/api/pl.treksoft.kvision.html/-image/centered.html b/docs/api/pl.treksoft.kvision.html/-image/centered.html index eeab6899..1c0a1eeb 100644 --- a/docs/api/pl.treksoft.kvision.html/-image/centered.html +++ b/docs/api/pl.treksoft.kvision.html/-image/centered.html @@ -11,5 +11,11 @@ <a name="pl.treksoft.kvision.html.Image$centered"></a> <code><span class="keyword">var </span><span class="identifier">centered</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> <p>Determines if the image is rendered as centered.</p> +<p><strong>Getter</strong><br/> +<p>Determines if the image is rendered as centered.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Determines if the image is rendered as centered.</p> +</p> </BODY> </HTML> diff --git a/docs/api/pl.treksoft.kvision.html/-image/image.html b/docs/api/pl.treksoft.kvision.html/-image/image.html index 4f07afd4..036314a9 100644 --- a/docs/api/pl.treksoft.kvision.html/-image/image.html +++ b/docs/api/pl.treksoft.kvision.html/-image/image.html @@ -8,8 +8,8 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Image</a> / <a href="./image.html">image</a><br/> <br/> <h1>image</h1> -<a name="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, 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">image</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/src">src</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/alt">alt</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/responsive">responsive</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/shape">shape</span><span class="symbol">:</span> <a href="../-i-m-a-g-e-s-h-a-p-e/index.html"><span class="identifier">IMAGESHAPE</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/centered">centered</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</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> setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="index.html"><span class="identifier">Image</span></a><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> null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Image</span></a></code> +<a name="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, 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">image</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/src">src</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/alt">alt</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/responsive">responsive</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/shape">shape</span><span class="symbol">:</span> <a href="../-image-shape/index.html"><span class="identifier">ImageShape</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/centered">centered</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</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> setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="index.html"><span class="identifier">Image</span></a><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> null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Image</span></a></code> <p>DSL builder extension function.</p> <p>It takes the same parameters as the constructor of the built component.</p> </BODY> diff --git a/docs/api/pl.treksoft.kvision.html/-image/index.html b/docs/api/pl.treksoft.kvision.html/-image/index.html index c065fc12..bb3d9315 100644 --- a/docs/api/pl.treksoft.kvision.html/-image/index.html +++ b/docs/api/pl.treksoft.kvision.html/-image/index.html @@ -18,7 +18,7 @@ <p><a href="-init-.html"><init></a></p> </td> <td> -<code><span class="identifier">Image</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/src">src</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/alt">alt</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/responsive">responsive</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/shape">shape</span><span class="symbol">:</span> <a href="../-i-m-a-g-e-s-h-a-p-e/index.html"><span class="identifier">IMAGESHAPE</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/centered">centered</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</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> setOf()<span class="symbol">)</span></code></td> +<code><span class="identifier">Image</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/src">src</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/alt">alt</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/responsive">responsive</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/shape">shape</span><span class="symbol">:</span> <a href="../-image-shape/index.html"><span class="identifier">ImageShape</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/centered">centered</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</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> setOf()<span class="symbol">)</span></code></td> </tr> </tbody> </table> @@ -57,7 +57,7 @@ <p><a href="shape.html">shape</a></p> </td> <td> -<code><span class="keyword">var </span><span class="identifier">shape</span><span class="symbol">: </span><a href="../-i-m-a-g-e-s-h-a-p-e/index.html"><span class="identifier">IMAGESHAPE</span></a><span class="symbol">?</span></code> +<code><span class="keyword">var </span><span class="identifier">shape</span><span class="symbol">: </span><a href="../-image-shape/index.html"><span class="identifier">ImageShape</span></a><span class="symbol">?</span></code> <p>The shape of the image.</p> </td> </tr> @@ -77,6 +77,15 @@ <tbody> <tr> <td> +<p><a href="../../pl.treksoft.kvision.core/-widget/draggable.html">draggable</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">draggable</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code> +<p>Determines if the current widget is draggable.</p> +</td> +</tr> +<tr> +<td> <p><a href="../../pl.treksoft.kvision.core/-widget/id.html">id</a></p> </td> <td> @@ -213,6 +222,15 @@ </tr> <tr> <td> +<p><a href="../../pl.treksoft.kvision.core/-widget/clear-drag-drop-data.html">clearDragDropData</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">clearDragDropData</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></code> +<p>Clears D&D data for the current widget. It also makes it not draggable.</p> +</td> +</tr> +<tr> +<td> <p><a href="../../pl.treksoft.kvision.core/-widget/get-element.html">getElement</a></p> </td> <td> @@ -304,6 +322,34 @@ </tr> <tr> <td> +<p><a href="../../pl.treksoft.kvision.core/-widget/set-drag-drop-data.html">setDragDropData</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setDragDropData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setDragDropData(kotlin.String, kotlin.String)/format">format</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.core.Widget$setDragDropData(kotlin.String, kotlin.String)/data">data</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><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Sets D&D data for the current widget. It also makes it draggable.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/set-drop-target.html">setDropTarget</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setDropTarget</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setDropTarget(kotlin.String, kotlin.Function1((org.w3c.dom.DragEvent, kotlin.Unit)))/format">format</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.core.Widget$setDropTarget(kotlin.String, kotlin.Function1((org.w3c.dom.DragEvent, kotlin.Unit)))/callback">callback</span><span class="symbol">:</span> <span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom/-drag-event/index.html"><span class="identifier">DragEvent</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><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">open</span> <span class="keyword">fun </span><span class="identifier">setDropTarget</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setDropTarget(kotlin.collections.Set((kotlin.String)), kotlin.Function1((org.w3c.dom.DragEvent, kotlin.Unit)))/formats">formats</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</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> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setDropTarget(kotlin.collections.Set((kotlin.String)), kotlin.Function1((org.w3c.dom.DragEvent, kotlin.Unit)))/callback">callback</span><span class="symbol">:</span> <span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom/-drag-event/index.html"><span class="identifier">DragEvent</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><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>Sets the current widget as a D&D drop target.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/set-drop-target-data.html">setDropTargetData</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setDropTargetData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setDropTargetData(kotlin.String, kotlin.Function1((kotlin.String, kotlin.Unit)))/format">format</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.core.Widget$setDropTargetData(kotlin.String, kotlin.Function1((kotlin.String, kotlin.Unit)))/callback">callback</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> <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>Sets the current widget as a D&D drop target with helper callback accepting String data.</p> +</td> +</tr> +<tr> +<td> <p><a href="../../pl.treksoft.kvision.core/-widget/set-event-listener.html">setEventListener</a></p> </td> <td> @@ -341,7 +387,7 @@ <p><a href="image.html">image</a></p> </td> <td> -<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">image</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/src">src</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/alt">alt</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/responsive">responsive</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/shape">shape</span><span class="symbol">:</span> <a href="../-i-m-a-g-e-s-h-a-p-e/index.html"><span class="identifier">IMAGESHAPE</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/centered">centered</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</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> setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="./index.html"><span class="identifier">Image</span></a><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> null<span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">Image</span></a></code> +<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">image</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/src">src</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/alt">alt</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/responsive">responsive</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/shape">shape</span><span class="symbol">:</span> <a href="../-image-shape/index.html"><span class="identifier">ImageShape</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/centered">centered</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</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> setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="./index.html"><span class="identifier">Image</span></a><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> null<span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">Image</span></a></code> <p>DSL builder extension function.</p> </td> </tr> diff --git a/docs/api/pl.treksoft.kvision.html/-image/responsive.html b/docs/api/pl.treksoft.kvision.html/-image/responsive.html index 74a6f6f6..20d3b977 100644 --- a/docs/api/pl.treksoft.kvision.html/-image/responsive.html +++ b/docs/api/pl.treksoft.kvision.html/-image/responsive.html @@ -11,5 +11,11 @@ <a name="pl.treksoft.kvision.html.Image$responsive"></a> <code><span class="keyword">var </span><span class="identifier">responsive</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> <p>Determines if the image is rendered as responsive.</p> +<p><strong>Getter</strong><br/> +<p>Determines if the image is rendered as responsive.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Determines if the image is rendered as responsive.</p> +</p> </BODY> </HTML> diff --git a/docs/api/pl.treksoft.kvision.html/-image/shape.html b/docs/api/pl.treksoft.kvision.html/-image/shape.html index fffca115..2c23cb61 100644 --- a/docs/api/pl.treksoft.kvision.html/-image/shape.html +++ b/docs/api/pl.treksoft.kvision.html/-image/shape.html @@ -9,7 +9,13 @@ <br/> <h1>shape</h1> <a name="pl.treksoft.kvision.html.Image$shape"></a> -<code><span class="keyword">var </span><span class="identifier">shape</span><span class="symbol">: </span><a href="../-i-m-a-g-e-s-h-a-p-e/index.html"><span class="identifier">IMAGESHAPE</span></a><span class="symbol">?</span></code> +<code><span class="keyword">var </span><span class="identifier">shape</span><span class="symbol">: </span><a href="../-image-shape/index.html"><span class="identifier">ImageShape</span></a><span class="symbol">?</span></code> <p>The shape of the image.</p> +<p><strong>Getter</strong><br/> +<p>The shape of the image.</p> +</p> +<p><strong>Setter</strong><br/> +<p>The shape of the image.</p> +</p> </BODY> </HTML> diff --git a/docs/api/pl.treksoft.kvision.html/-image/src.html b/docs/api/pl.treksoft.kvision.html/-image/src.html index a8c16278..c78b41b6 100644 --- a/docs/api/pl.treksoft.kvision.html/-image/src.html +++ b/docs/api/pl.treksoft.kvision.html/-image/src.html @@ -11,5 +11,11 @@ <a name="pl.treksoft.kvision.html.Image$src"></a> <code><span class="keyword">var </span><span class="identifier">src</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a></code> <p>URL of the image.</p> +<p><strong>Getter</strong><br/> +<p>URL of the image.</p> +</p> +<p><strong>Setter</strong><br/> +<p>URL of the image.</p> +</p> </BODY> </HTML> |