JS routing
KVision has a built-in support for the JavaScript router Navigo by using a wrapper library navigo-kotlin. The router object is available as a global variable routing
in the pl.treksoft.kvision.routing
package, and all Navigo API methods can be called directly.
The JS router support is also directly available in the TabPanel
and StackPanel
containers. This way you can easily bind different parts of your application GUI with distinct URL addresses and make the "Back" button of the browser work as expected.
Last updated