In [1]:
import jupyter_widget_d3_slider as ws
In [4]:
w = ws.HelloWorld()
w
In [5]:
w
In [6]:
w.value = 'Hi world 22'
In [7]:
s = ws.Slider()
s
In [8]:
s2 = ws.Slider()
s2.value = 20
s2
In [9]:
s.value = 100
In [10]:
s
In [11]:
import traitlets 
import ipywidgets as widgets 
b = widgets.FloatSlider(min=0, max=180)
t = widgets.FloatText()

# linkA = widgets.jslink((s, 'value'), (b, 'value'))
# linkB = widgets.jslink((s, 'value'), (t, 'value'))

linkA2 = traitlets.link((s, 'value'), (b, 'value'))
linkB2 = traitlets.link((s, 'value'), (t, 'value'))

b
In [12]:
t
In [ ]: