Package-level declarations
Types
Link copied to clipboard
annotation class ExperimentalReadMoreApi
Marks declarations that are still experimental.
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
fun BasicReadMoreText(text: AnnotatedString, expanded: Boolean, modifier: Modifier = Modifier, onExpandedChange: (Boolean) -> Unit? = null, contentPadding: PaddingValues = PaddingValues(0.dp), style: TextStyle = TextStyle.Default, onTextLayout: (TextLayoutResult) -> Unit = {}, softWrap: Boolean = true, readMoreText: String = "", readMoreMaxLines: Int = 2, readMoreOverflow: ReadMoreTextOverflow = ReadMoreTextOverflow.Ellipsis, readMoreStyle: SpanStyle = style.toSpanStyle(), readLessText: String = "", readLessStyle: SpanStyle = readMoreStyle, toggleArea: ToggleArea = ToggleArea.All)
fun BasicReadMoreText(text: String, expanded: Boolean, modifier: Modifier = Modifier, onExpandedChange: (Boolean) -> Unit? = null, contentPadding: PaddingValues = PaddingValues(0.dp), style: TextStyle = TextStyle.Default, onTextLayout: (TextLayoutResult) -> Unit = {}, softWrap: Boolean = true, readMoreText: String = "", readMoreMaxLines: Int = 2, readMoreOverflow: ReadMoreTextOverflow = ReadMoreTextOverflow.Ellipsis, readMoreStyle: SpanStyle = style.toSpanStyle(), readLessText: String = "", readLessStyle: SpanStyle = readMoreStyle, toggleArea: ToggleArea = ToggleArea.All)
Basic element that displays text with read more. Typically you will instead want to use com.webtoonscorp.android.readmore.material.ReadMoreText, which is a higher level Text element that contains semantics and consumes style information from a theme.