Jonathan Frederic
f2fefe20ff
Added event for widget construction
12 years ago
Jonathan Frederic
ea27ae599b
Added parent parameter to on_display callback
12 years ago
Jonathan Frederic
8e1c52382c
Added `method` property to messages from the front-end
12 years ago
Jonathan Frederic
0f34affc35
Dont send add and remove class calls if no comm exists
12 years ago
Jonathan Frederic
10002f5a81
Changed button to use custom messages instead of state to communicate events.
12 years ago
Jonathan Frederic
c299022cc7
Changed add_class and remove_class to use messages instead of stateful communication
12 years ago
Jonathan Frederic
9019b639d1
Fixed a bug that didn't allow callbacks to set a property
...
on the widget that triggered the callback.
12 years ago
Jonathan Frederic
c0ff518107
Added support for custom widget msgs
12 years ago
Jonathan Frederic
742ad511f6
Added check on widget close to make sure comm isn't already none.
12 years ago
Jonathan Frederic
1f39592bb1
Added missing types import
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
08b1d08fb6
Fix: added inspect import to widget.py
12 years ago
Jonathan Frederic
a67f2ec472
Fixed doc string comments, removed extra space
12 years ago
Jonathan Frederic
35fc3af84f
Added on_display callback
12 years ago
Jonathan Frederic
12b02b3e49
Use baseProjectUrl for widget import path
12 years ago
Jonathan Frederic
6834224332
Updated set_css so it can handle a dictionary of keys and values.
12 years ago
Jonathan Frederic
20c97e0f87
Use relative paths for widget js jquery imports
12 years ago
Jonathan Frederic
8fba5d2f07
Added add_class and remove_class methods.
12 years ago
Jonathan Frederic
048ba656d4
Remove text repr of js includes.
12 years ago
Jonathan Frederic
810ea87e5b
Added `visible` property to all widgets
12 years ago
Jonathan Frederic
82dd891483
Allow parent to be set after construction...
...
But still must be set before display call
12 years ago
Jonathan Frederic
6dd1bce589
Added ability to title multicontainer pages before multicontainer display()
12 years ago
Jonathan Frederic
a2294581ea
Actual absolute paths...
12 years ago
Jonathan Frederic
5871471c1f
Absolute paths
12 years ago
Jonathan Frederic
f422bb9be2
Cleaned up Python widget code.
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
0d25759d53
Add state packet delta compression.
12 years ago
Jonathan Frederic
65a6000919
Renamed widget python classes to avoid name stomping
12 years ago
Jonathan Frederic
fffaba9a7b
Moved widget js into static
12 years ago
Jonathan Frederic
cb7eb8354f
Fixed bug where properties couldn't be set on model till model was shown
12 years ago
Jonathan Frederic
dde9018ab3
Register init_widget_js
...
and remove cls parameter
12 years ago
Jonathan Frederic
3a16f603b9
Updates to widget.py
...
Added global init js function
Moved init comm logic to show function
12 years ago
Jonathan Frederic
22dcf3aa68
Basic display logic
...
s/show/_repr_...
Added code to display Javascript in frontend.
12 years ago
Jonathan Frederic
918d57050a
Added widget.py
12 years ago