##// END OF EJS Templates
Lots of updates to widget(s) js...
Lots of updates to widget(s) js Use require.js (again) Allow IntTextView and FloatTextView to be used without min/max

File last commit:

r14260:3ca03407
r14263:84cd0629
Show More
string.py
10 lines | 328 B | text/x-python | PythonLexer
from base import Widget
from IPython.utils.traitlets import Unicode, Bool, List
class StringWidget(Widget):
target_name = Unicode('StringWidgetModel')
default_view_name = Unicode('TextboxView')
_keys = ['value', 'disabled']
value = Unicode()
disabled = Bool(False) # Enable or disable user changes