##// END OF EJS Templates
Changed js loading,...
Changed js loading, Use require.js in js files Assume 1 on 1 mapping of py file names to js file names

File last commit:

r14260:3ca03407
r14261:ddb2fbc9
Show More
bool.py
11 lines | 410 B | text/x-python | PythonLexer
from base import Widget
from IPython.utils.traitlets import Unicode, Bool, List
class BoolWidget(Widget):
target_name = Unicode('BoolWidgetModel')
default_view_name = Unicode('CheckboxView')
_keys = ['value', 'description', 'disabled']
value = Bool(False)
description = Unicode('') # Description of the boolean (label).
disabled = Bool(False) # Enable or disable user changes