toggle menu
doodle
0.10.3
common
switch theme
search in API
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