Package-level declarations

Types

Link copied to clipboard

Initially supported subset of androidx.compose.ui.text.AnnotatedString.

JS DOM implementation of AnnotatedString using a nestable tree/node design.

Link copied to clipboard

Builder for creating AnnotatedString instances with styled text.

actual class AnnotatedStringBuilder(val mutableNodeList: MutableList<AnnotatedString.Node> = mutableListOf())

Builder for AnnotatedString.

Link copied to clipboard
expect class SpanStyle

Initially supported subset of androidx.compose.ui.text.SpanStyle.

actual class SpanStyle
actual class SpanStyle

Functions

Link copied to clipboard

Renders an AnnotatedString as composable HTML content using nested <span> elements.

Link copied to clipboard
fun StyleScope.applyStyle(spanStyle: SpanStyle)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
expect inline fun <R : Any> AnnotatedStringBuilder.withStyle(style: SpanStyle, block: AnnotatedStringBuilder.() -> R): R
actual inline fun <R : Any> AnnotatedStringBuilder.withStyle(style: SpanStyle, block: AnnotatedStringBuilder.() -> R): R
actual inline fun <R : Any> AnnotatedStringBuilder.withStyle(style: SpanStyle, block: AnnotatedStringBuilder.() -> R): R