Vladyslav Sitalo
04/04/2019, 2:54 PMRobert Jaros
04/04/2019, 2:59 PMVladyslav Sitalo
04/04/2019, 3:01 PMVladyslav Sitalo
04/04/2019, 3:01 PMVladyslav Sitalo
04/04/2019, 3:03 PMVladyslav Sitalo
04/04/2019, 3:04 PMVladyslav Sitalo
04/04/2019, 3:06 PMRobert Jaros
04/04/2019, 3:23 PMnpm {
dependency("hammerjs", "2.0.8")
}
Next you can use require
command in your kotlin code e.g.:
val hammer = require("hammerjs")
val hammerjs = hammer(document.body)
hammerjs.on("swiperight") {
// ...
}
hammerjs.on("swipeleft") {
// ...
}
Tests are run by Karma so you can view results in your browser.
This plugin works with webpack HMR, so it's really productive for the developer.
There are some issues with kotlin-frontend-plugin, but i'm using it almost all the time without major problems.Vladyslav Sitalo
04/04/2019, 3:25 PMRobert Jaros
04/04/2019, 3:26 PMChris Barbour
04/04/2019, 8:53 PMVladyslav Sitalo
04/07/2019, 5:12 PM