Jonathan Frederic
b5195e1b17
Merge pull request #6548 from SylvainCorlay/widget_views_by_id
...
Make WidgetModel.views be an object indexed by view id
11 years ago
sylvain.corlay
60925f0a1a
hasOwnProperty
11 years ago
Sylvain Corlay
d8635fc1cc
on_atomic_change -> on_some_change
11 years ago
Sylvain Corlay
b6a0f60d3f
Make Widget.views be an object indexed by view id
11 years ago
Sylvain Corlay
a9fca81e95
Set default view to None and never display widget with no view
11 years ago
Sylvain Corlay
fb336de4ed
register bare views
12 years ago
Brian E. Granger
4ec1a3b41e
Merge pull request #6235 from jdfreder/addclass
...
Remove add/remove_class and set/get_css.
12 years ago
Jonathan Frederic
d4d554052e
Address problems found in in-person review
12 years ago
Jonathan Frederic
6637b768cc
Merge pull request #6463 from SylvainCorlay/bulk_update
...
Bulk update of widget attributes
12 years ago
Sylvain Corlay
cd782c916d
state_lock loop
12 years ago
Sylvain Corlay
769e7fa108
rename to on_atomic_change
12 years ago
Jonathan Frederic
591b2b3ad7
Tabs->Spaces
12 years ago
Jonathan Frederic
02e3a58030
s/fore_color/color
...
s/back_color/background_color
12 years ago
Sylvain Corlay
e809fcb545
stop listening
12 years ago
Sylvain Corlay
75cb63fba2
Adding a comment and renaming on_bulk_change to on_change
12 years ago
Sylvain Corlay
06747c1ada
simplification of trigger destroy
12 years ago
Sylvain Corlay
222dc5fb3e
Destroy backbone model on comm:close
12 years ago
sylvain.corlay
e77b21cb22
optimization of WidgetModel.apply_update
12 years ago
sylvain.corlay
6eea0c37aa
Added on_bulk_change method in WidgetModel
12 years ago
Jonathan Frederic
cb9014e42c
Fixed rebase bugs and other bugs.
12 years ago
Jonathan Frederic
9b4d19bad7
Added Bootstrap specific classes,
...
and fixed a few bugs here and there...
12 years ago
Jonathan Frederic
a0e70e350f
Fix some bugs found by the widget examples,
...
add margin and padding base traits,
add overflow traits to box base.
12 years ago
Jonathan Frederic
9af77a6374
Initial crack at using specific traits for styling.
12 years ago
Jonathan Frederic
f85a01041c
Remove add/remove class methods,
...
Remove helper set/get css methods
12 years ago
Jonathan Frederic
ba0a805404
Merge pull request #6226 from jasongrout/css-top-default
...
Remove $el_to_style from the widget javascript code; '' now defaults to this.$el
12 years ago
Jonathan Frederic
0ee948efca
Merge pull request #6200 from SylvainCorlay/widget-changes
...
Partial update of DOMWidgetView styling and simplification of containers.
12 years ago
Sylvain Corlay
c03a3eb6d2
making the use of options explicit
12 years ago
Jason Grout
eccc20ce1a
Remove $el_to_style from the widget javascript code; '' now defaults to this.$el
...
This seems to make it easiest to select the top-level element. An alternative is to use special syntax for top-level elements, like in https://github.com/ipython/ipython/pull/6185
This will be followed up by other fixes that let the user set specific common properties of different elements.
This change also adds the .addBack() call, which means that nonempty selectors now apply to this.$el and its descendants, rather than just the descendants of this.$el.
12 years ago
sylvain.corlay
2ca04578cf
adding options explicitly
12 years ago
Brian E. Granger
2999510bfa
Merge pull request #6182 from SylvainCorlay/do-diff-correction
...
do_diff function was always removing all views from the old list.
12 years ago
Sylvain Corlay
93ee9ea7a9
removing timout
12 years ago
sylvain.corlay
5c0fda1dc0
correction
12 years ago
sylvain.corlay
34fe520742
widget changes continued
12 years ago
sylvain.corlay
972fbb5f34
widget simplification continued
12 years ago
sylvain.corlay
8e8e6291d4
Partial updates of css and visible + simplification of widget_container
12 years ago
Brian E. Granger
29d67ed8a3
Merge pull request #6168 from SylvainCorlay/once-displayed
...
once-displayed
12 years ago
Brian E. Granger
372507e3f1
Merge pull request #6128 from jasongrout/widget-trait-serialization
...
Widget trait serialization
12 years ago
Sylvain Corlay
cd7942eb06
renaming once_displayed into after_displayed
12 years ago
Sylvain Corlay
cfc4a62a85
one more bit
12 years ago
Sylvain Corlay
b4d5094645
correction in widget.js
12 years ago
Sylvain Corlay
1eb2a30efb
once-displayed
12 years ago
Jason Grout
eed0715a09
Prepend a sentinel value to model ids to distinguish them from normal UUIDs (from Sylvain Corlay).
12 years ago
Sylvain Corlay
70cacc642a
Solving #5997 : instances of WidgetView (that are not instances of DOMWidgetView) do not trigger widget_area.show anymore.
12 years ago
Jonathan Frederic
b15633a89e
Fix all the tests
12 years ago
Jonathan Frederic
c7961ae2db
Fix imports of "modules",
...
required after converting everything into dictionary returns.
12 years ago
Jonathan Frederic
0da779d101
Done with major changes,
...
fixed widget IPython. references
12 years ago
Jonathan Frederic
516958ac07
Almost done!
...
Still need to check IPython uses in the widgets.
12 years ago
Jonathan Frederic
1a30a12302
Ahhh bug fix!
12 years ago
Jonathan Frederic
df47869fb0
Move displayed event to view.
12 years ago
Jonathan Frederic
fa39d91446
Review comments
12 years ago