Jonathan Frederic
3d7557b740
Moved base widget model and view into widgets/base.js
12 years ago
Jonathan Frederic
4e3b2b3e94
jslint /widgets
12 years ago
Jonathan Frederic
d69e957b9a
Added support for disabled flag to button widget.
12 years ago
Jonathan Frederic
4f663d896d
Made scroll to bottom use msgs
...
allow multiple msg handlers
added send to view to automatically hookup callbacks
changed send signature to optionally accept a cell to connect callbacks
12 years ago
Jonathan Frederic
10002f5a81
Changed button to use custom messages instead of state to communicate events.
12 years ago
Jonathan Frederic
00f72487c5
Use setElement to set the view's element properly.
12 years ago
Jonathan Frederic
f16f1d6537
Make sure backbone events fire.
...
If $el is set to something else, make sure all the backbone machinery
knows about the new DOM element.
12 years ago
Jonathan Frederic
1131100d21
Changed require.js load calls to allow require.js to pass
...
the import module handles around.
12 years ago
Jonathan Frederic
a9faa50329
Use regular expressions when fixing button-like captions
12 years ago
Jonathan Frederic
6c860e32c0
Added support for multiple lines in button-like widgets
12 years ago
Jonathan Frederic
59e7a04723
Added support for multiple spaces in a row
...
also added button height fix for standard buttons without a caption
12 years ago
Jonathan Frederic
ce53644d54
Added standard IPY JS header to widget JS files.
12 years ago
Jonathan Frederic
8502b2c182
Remove init_widget_js, use require.js for everything
...
Updated examples
Fixed bug with message throttling
12 years ago
Jonathan Frederic
f2d77f3b78
Added labels to basic widgets
12 years ago
Jonathan Frederic
aeebaaf09d
Updated require js references, now absolute paths are used
12 years ago
Jonathan Frederic
f241242b7f
Fixes that allow last commit to work.
12 years ago
Jonathan Frederic
837ef44256
LOTS OF WIDGET CHANGES
...
Moved model-like code out of manager.
Added parent/child API.
Throttling now occurs on a model by model level.
View/cell association is fixed for the most part, but there is still
one assumption being made in handle_com_msg.
12 years ago
Jonathan Frederic
d72262e071
Fixed button widget click event handler/
12 years ago
Jonathan Frederic
c20859a5c9
Add button widget
12 years ago