Package-level declarations

Types

Link copied to clipboard

Global configuration for HTML extension functions.

Properties

Link copied to clipboard

Determines whether the subresource integrity attribute should be set by default, when calling the convenience script and stylesheet functions.

Functions

Link copied to clipboard
fun FlowOrMetaDataOrPhrasingContent.script(file: RevisionedFile, crossorigin: ScriptCrossorigin? = null, integrity: Boolean = RevFileHtml.useSubresourceIntegrity, block: SCRIPT.() -> Unit = {})

Adds a <script> tag for the given revisioned file.

Link copied to clipboard
fun HEAD.stylesheet(file: RevisionedFile, crossorigin: ScriptCrossorigin? = null, integrity: Boolean = RevFileHtml.useSubresourceIntegrity, block: LINK.() -> Unit = {})

Adds a <link rel="stylesheet"> tag for the given revisioned file.