jupyter-widgets / pythreejs

A Jupyter - Three.js bridge
https://pythreejs.readthedocs.io
Other
936 stars 187 forks source link

Fix listen to datawidget #227

Closed vidartf closed 5 years ago

vidartf commented 5 years ago

Add a special change callback for when the data in a data widget change. This will not trigger the normal change notifier, which would normally push this to the three object. Note that since this attribute will not be be marked in hasChange(). For this reason, either property mapper should be used, or this callback should call syncToThreeObj with force=true. For now, we rely on mappers.