toggle menu
interactive-text
0.1.3
jvm
switch theme
search in API
interactive-text
/
me.okonecny.interactivetext
/
InteractiveText
Interactive
Text
@
Composable
fun
InteractiveText
(
interactiveId
:
InteractiveId
,
text
:
AnnotatedString
,
textMapping
:
TextMapping
,
style
:
TextStyle
,
modifier
:
Modifier
=
Modifier
,
inlineContent
:
Map
<
String
,
InlineTextContent
>
=
mapOf()
,
userData
:
UserData
=
UserData.empty
,
activeAnnotationTags
:
Set
<
String
>
=
setOf()
,
onAnnotationCLick
:
(
Int
,
List
<
AnnotatedString.Range
<
String
>
>
)
->
Unit
=
{ _, _ -> }
)
@
Composable
fun
InteractiveText
(
interactiveId
:
InteractiveId
,
text
:
String
,
textMapping
:
TextMapping
,
style
:
TextStyle
,
modifier
:
Modifier
=
Modifier
,
userData
:
UserData
=
UserData.empty
,
activeAnnotationTags
:
Set
<
String
>
=
setOf()
,
onAnnotationCLick
:
(
Int
,
List
<
AnnotatedString.Range
<
String
>
>
)
->
Unit
=
{ _, _ -> }
)