Show More
@@ -330,12 +330,10 b' class Widget(LoggingConfigurable):' | |||
|
330 | 330 | |
|
331 | 331 | |
|
332 | 332 | class DOMWidget(Widget): |
|
333 | visible = Bool(True, help="Whether or not the widget is visible.") | |
|
333 | visible = Bool(True, help="Whether or not the widget is visible.", sync=True) | |
|
334 | 334 | |
|
335 | 335 | # Private/protected declarations |
|
336 | _css = Dict() # Internal CSS property dict | |
|
337 | ||
|
338 | keys = ['visible', '_css'] + Widget.keys # TODO | |
|
336 | _css = Dict(sync=True) # Internal CSS property dict | |
|
339 | 337 | |
|
340 | 338 | def get_css(self, key, selector=""): |
|
341 | 339 | """Get a CSS property of the widget. |
@@ -355,7 +353,6 b' class DOMWidget(Widget):' | |||
|
355 | 353 | else: |
|
356 | 354 | return None |
|
357 | 355 | |
|
358 | ||
|
359 | 356 | def set_css(self, *args, **kwargs): |
|
360 | 357 | """Set one or more CSS properties of the widget. |
|
361 | 358 |
General Comments 0
You need to be logged in to leave comments.
Login now