##// END OF EJS Templates
Update Widget Events.ipynb...
Gareth Elston -
Show More
@@ -307,7 +307,7 b''
307 307 "range1, range2, range3 = widgets.IntSlider(description='Range 1'),\\\n",
308 308 " widgets.IntSlider(description='Range 2'),\\\n",
309 309 " widgets.IntSlider(description='Range 3')\n",
310 "l = widgets.link((range1, 'value'), (range2, 'value'), (range3, 'value'))\n",
310 "l = widgets.jslink((range1, 'value'), (range2, 'value'), (range3, 'value'))\n",
311 311 "display(caption, range1, range2, range3)"
312 312 ]
313 313 },
@@ -323,7 +323,7 b''
323 323 "source_range, target_range1, target_range2 = widgets.IntSlider(description='Source range'),\\\n",
324 324 " widgets.IntSlider(description='Target range 1'),\\\n",
325 325 " widgets.IntSlider(description='Target range 2')\n",
326 "widgets.dlink((source_range, 'value'), (target_range1, 'value'), (target_range2, 'value'))\n",
326 "widgets.jsdlink((source_range, 'value'), (target_range1, 'value'), (target_range2, 'value'))\n",
327 327 "display(caption, source_range, target_range1, target_range2)"
328 328 ]
329 329 },
General Comments 0
You need to be logged in to leave comments. Login now