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
Jonathan Frederic
988fd1b5f9
Reverted strange change that I don't remember making to update method.
12 years ago
Jonathan Frederic
3a9d888f02
Removed respect_order and finally removed the children dict of the containerview
12 years ago
Jonathan Frederic
f51903ca03
Bug fixes
12 years ago
Jonathan Frederic
f1269d3de3
Add order respecting method
12 years ago
Jonathan Frederic
636362787b
Fixed buggy behavior
12 years ago
Jonathan Frederic
14ff754cdf
Allow a widget to be displayed more than once within a parent widget.
12 years ago
Min RK
3badefd651
Merge pull request #5936 from jdfreder/i5821
...
Change widget css dict to a list,
12 years ago
Jonathan Frederic
74483d77da
Change css dict to a list,
...
even though this introduces O(N) complexity, it fixes a bug
where path dependent css traits could be executed out of order,
making it impossible to actually set the traits from the back-end.
12 years ago
Brian E. Granger
6c03b508a5
Pop child view from child_model.view in delete_child_view
12 years ago
Jonathan Frederic
1f002cd456
Add displayed property.
...
and remove logs, commments, etc...
12 years ago
Jonathan Frederic
28423647a2
Updated require references to point to new files
12 years ago
Jonathan Frederic
e0ba52c802
Moved widget files into static/widgets/*
...
Since they do not depend on anything ntoebook related
12 years ago