IndexBlock

abstract class IndexBlock : ExtensionAware(source)

A sub-block for defining properties related to the "index.html" document generated by Kobweb

It's expected that this will be done, in general, by the app itself, but libraries are given the ability to add their own tweaks, in case they provide functionality that depend on something being present in the final HTML.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
abstract val head: ListProperty<HEAD.() -> Unit>

A list of element builders to add to the <head> of the app's generated index.html file.

Functions

Link copied to clipboard
@Internal
abstract fun getExtensions(): ExtensionContainer