Notebooks user guide | Observable | Observable
Comments (2)
Fil
Jun 11
why `await`? shouldn't we write those instead as ```ts const image = FileAttachment("image.jpg").image({width: 100}); ``` or just ```ts FileAttachment("image.jpg").image({width: 100}) ```
Mike Bostock
Jul 7
And we can replace await FileAttachment("image.jpg").url() with FileAttachment("image.jpg").href, which I’ve done.
Reply
Add comment
Subscribe to notifications
Observable
Sign in
Observable
Toph Tucker
&
Mike Bostock
8
Reply
Add comment
Subscribe to notifications
3
Notebooks user guide | Observable | Observable