Package-level declarations

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class InitKobweb

An annotation which identifies a function as one which will be called when the page opens, before nodes are laid out. The function should take an InitKobwebContext as its only parameter.

Link copied to clipboard
class InitKobwebContext(val config: MutableKobwebConfig, val router: Router)

Various classes useful for methods that are called when a page is first loaded.

Link copied to clipboard
interface KobwebConfig
Link copied to clipboard
Link copied to clipboard
class MutableOpenLinkStrategies(var internal: OpenLinkStrategy = OpenLinkStrategy.IN_PLACE, var external: OpenLinkStrategy = OpenLinkStrategy.IN_NEW_TAB) : OpenLinkStrategies
Link copied to clipboard

Functions

Link copied to clipboard
fun initKobweb(router: Router, init: (InitKobwebContext) -> Unit)