vdom icon indicating copy to clipboard operation
vdom copied to clipboard

🎄 Virtual DOM for Python

Results 20 vdom issues
Sort by recently updated
recently updated
newest added

Hi, In python 3, `FrozenDict` can be pickled, but not unpickled (python2 does not have this issue): ``` $ python3 -c 'from vdom.frozendict import FrozenDict; from six.moves import cPickle; cPickle.loads(cPickle.dumps(FrozenDict(a=1),...

I'm using a third-party library (tabulate) to generate html tables from my data and I would like to insert these in the dom. Since I wasn't able to find a...

random is called before it is imported resulting in an error. To resolve this I moved the imports to the top, and brought the import of time up as well....

Because of issue #106 I forked this project and changing it so it uses markupsafe for escaping. This not only allows marking safe text, but it also deals with any...

# Summary I think it would be useful to include a top-level `importSource` attribute to the VDOM spec: ```python { "importSource": { "source": string, "fallback": string, } } ``` The...

From #67 - Updating existing display objects does not work since we changed VDOM objects to be immutable; this breaks the last examples in exploring-elements.ipynb Do we want to have...

enhancement

In [VDOM Event Support](https://github.com/nteract/vdom/blob/master/docs/event-spec.md) there are two lines with typos in the first code example; corrected: from IPython.display import display return button(str(count), onClick=on_click, style={'width': '100', 'height': '40'}) The second code...

I tried ``` from IPython.display import display from vdom import div, input_, label, table, tbody, tr, td, button def on_click(event): print("click") def forminput(text, type="text"): return tr( td( label(text) ), td(...

Running this: https://github.com/nteract/vdom/blob/10a0f950730efab44574802647e15c1edb05758f/example-notebooks/exploring-elements.ipynb ``` # Change the value directly from Python inp.attributes['value'] = "#DD55FF" # Then update the version in your notebook hand.update(inp) ``` ``` ValueError Traceback (most recent call...

is there any way right now to serve the vdom outside of the notebook? Can't find that in the docs