Join Slack
Powered by
<@U0GM63858> you can use JS libraries from Kotlin ...
# javascript
b
bashor
10/06/2016, 7:05 PM
@bmsantos
you can use JS libraries from Kotlin in some ways: 1. Typesafe-way — declare everything you need in Kotlin (something like d.ts), for example see
https://github.com/JetBrains/kotlin/blob/master/js/js.libraries/src/jquery/common.kt
2. use dynamic type 3. use
js
function to write glue code in JavaScript inside Kotlin file For more info see
https://blog.jetbrains.com/kotlin/2014/12/javascript-interop/
2
Views
Open in Slack
Previous
Next