Package-level declarations

Types

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

An annotation which identifies a Composable function as one which will be used as the root skeleton for every page.

Link copied to clipboard
object AppGlobals

A list of globals for this app.

Link copied to clipboard
object DefaultStyleSheet : StyleSheet
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FILE])
annotation class PackageMapping(val value: String)

An annotation which allows for mapping the current file's package name to a different URL name.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class Page(val routeOverride: String = "")

An annotation which identifies a Composable function as one which will be used to render a page.

Link copied to clipboard

Various contextual information useful for a page.

Properties

Link copied to clipboard

A property which indicates if we are currently running this site as part of a Kobweb export.

A property which indicates if this current page is being rendered as part of a Kobweb export.

Link copied to clipboard

Functions

Link copied to clipboard
@Composable
fun KobwebApp(content: @Composable () -> Unit)
Link copied to clipboard

Returns the active page's context.