Does viewof() work in Notebook Kit? #24
Answered
by
mbostock
Lucas-Kohorst
asked this question in
Q&A
-
I downloaded a notebook with My ideal workflow is
|
Beta Was this translation helpful? Give feedback.
Answered by
mbostock
Aug 1, 2025
Replies: 1 comment
-
Yes, it should work. Can you share your code, or a reproduction? Here is an example that works in an Observable JavaScript cell:
Of course, we highly recommend migrating to vanilla JavaScript, which would be: const foo = view(Inputs.range([0, 100], {step: 1, label: "Foo"})); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Lucas-Kohorst
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, it should work. Can you share your code, or a reproduction?
Here is an example that works in an Observable JavaScript cell:
Of course, we highly recommend migrating to vanilla JavaScript, which would be: