Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decide on JS API #487

Closed
fonsp opened this issue Sep 24, 2020 · 0 comments
Closed

Decide on JS API #487

fonsp opened this issue Sep 24, 2020 · 0 comments
Assignees
Labels
frontend Concerning the HTML editor
Milestone

Comments

@fonsp
Copy link
Owner

fonsp commented Sep 24, 2020

Some things:

  • the result of a <script> should be inserted before the element, so that you can @bind to a script.
  • how will we reuse results/DOM from the previous iteration?
  • what is this? undefined? can we make it observablehq-compatible?
  • currently, this is the cell output node, so that you can do this.querySelector, but this is actually not so nice when you have multiple objects in the same output and they all collide
  • JS reactivity? leave it for later? Ideas from other notebooks #173 (comment)
@fonsp fonsp added this to the 🧭 v0.12 milestone Sep 24, 2020
@fonsp fonsp added the frontend Concerning the HTML editor label Sep 24, 2020
@fonsp fonsp closed this as completed Oct 7, 2020
fonsp referenced this issue Oct 7, 2020
Co-authored-by: fonsp <fonsvdplas@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Concerning the HTML editor
Projects
None yet
Development

No branches or pull requests

2 participants