doodle
Toggle table of contents
0.12.0
common
Target filter
common
Switch theme
Search in API
Skip to content
doodle
Controls
/
io.nacular.doodle.controls
/
invoke
invoke
operator
fun
<
T
>
ItemVisualizer
<
T
,
Any
>
.
invoke
(
item
:
T
,
previous
:
View
?
=
null
)
:
View
(
source
)
operator
fun
<
T
,
C
>
ItemVisualizer
<
String
,
C
>
.
invoke
(
mapper
:
(
T
)
->
String
=
{ "$it" }
)
:
ItemVisualizer
<
T
,
C
>
(
source
)
Visualizes a string representation of the item obtained from
mapper
.
Parameters
mapper
to convert the item to a string