kvision / pl.treksoft.kvision / Hot

Hot

(js) interface Hot

Helper interface for Hot Module Replacement (HMR).

Properties

(js)

data

abstract val data: dynamic

Functions

(js)

accept

abstract fun accept(): Unit
abstract fun accept(dependency: String, callback: () -> Unit): Unit
abstract fun accept(dependencies: Array<String>, callback: (updated: Array<String>) -> Unit): Unit
(js)

dispose

abstract fun dispose(callback: (dynamic) -> Unit): Unit