Have you considered using viewof? That way you could add the iframe to the DOM (within the cell wrapper) and still return a promise as value. It would also allow you to wrap iframe modifications in a custom API.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Detecting when cells are "ready" when embedding a notebook | 6 | 1049 | November 2, 2020 | |
| Importing notebook issue, never get onload event | 1 | 405 | January 19, 2022 | |
| Embeding a notebook as an iframe | 3 | 1197 | November 18, 2019 | |
| await for specific cell value | 11 | 1393 | September 11, 2022 | |
|
Observable Story
|
5 | 568 | September 25, 2020 |