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
/
LazyPhoto
/
LazyPhoto
Lazy
Photo
constructor
(
pendingImage
:
Deferred
<
Image
>
,
initialized
:
(
imageSize
:
Size
)
->
Unit
=
{}
,
placeHolder
:
Canvas
.
(
)
->
Unit
=
{}
)
(
source
)
Parameters
pending
Image
to render when loaded
initialized
notified when loaded
place
Holder
used to render while the image loads