snabbdom-kotlin

Kotlin definition files for the Snabbdom virtual DOM library.

License

License

MIT
MIT
Categories

Categories

Kotlin Languages
GroupId

GroupId

io.kvision
ArtifactId

ArtifactId

snabbdom-kotlin
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

pom
Description

Description

snabbdom-kotlin
Kotlin definition files for the Snabbdom virtual DOM library.
Project URL

Project URL

https://github.com/rjaros/snabbdom-kotlin
Source Code Management

Source Code Management

https://github.com/rjaros/snabbdom-kotlin.git

Download snabbdom-kotlin

How to add to project

<!-- https://jarcasting.com/artifacts/io.kvision/snabbdom-kotlin/ -->
<dependency>
    <groupId>io.kvision</groupId>
    <artifactId>snabbdom-kotlin</artifactId>
    <version>1.0.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/io.kvision/snabbdom-kotlin/
implementation 'io.kvision:snabbdom-kotlin:1.0.0'
// https://jarcasting.com/artifacts/io.kvision/snabbdom-kotlin/
implementation ("io.kvision:snabbdom-kotlin:1.0.0")
'io.kvision:snabbdom-kotlin:pom:1.0.0'
<dependency org="io.kvision" name="snabbdom-kotlin" rev="1.0.0">
  <artifact name="snabbdom-kotlin" type="pom" />
</dependency>
@Grapes(
@Grab(group='io.kvision', module='snabbdom-kotlin', version='1.0.0')
)
libraryDependencies += "io.kvision" % "snabbdom-kotlin" % "1.0.0"
[io.kvision/snabbdom-kotlin "1.0.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib-js jar 1.4.30

Project Modules

There are no modules declared in this project.

snabbdom-kotlin

This project is a set of Kotlin definition files for the Snabbdom virtual DOM library. Snabbdom is used in several frontend frameworks, the most famous being Vue.

https://github.com/snabbdom/snabbdom

Project Details

The definition files here are based on snabbdom v0.7.4.

This project is built with Gradle 6.8.

The typescript definition files in the /snabbdom.d.ts folder are copied from the snabbdom v0.6.9 release on npm and then run through the ts2kt tool (https://github.com/Kotlin/ts2kt). The output from the ts2kt tool is in the /snabbdom.d.ts/generated folder.

The files under the src folder are the same output files but modified so that snabbdom is completely ready to use in Kotlin.

How to use

The artifacts of this project are published to Maven Central. To use it in your project add the following code in your build.gradle.kts file.

dependencies {
    ...
    api("io.kvision:snabbdom-kotlin:$snabbdomKotlinVersion")
}

To see this library being used in a project check out KVision (https://github.com/rjaros/kvision).

Versions

Version
1.0.0