Show More
@@ -31,4 +31,4 b' class CheckboxWidget(_BoolWidget):' | |||||
31 |
|
31 | |||
32 | class ToggleButtonWidget(_BoolWidget): |
|
32 | class ToggleButtonWidget(_BoolWidget): | |
33 | _view_name = Unicode('ToggleButtonView', sync=True) |
|
33 | _view_name = Unicode('ToggleButtonView', sync=True) | |
34 | No newline at end of file |
|
34 |
@@ -1,7 +1,6 b'' | |||||
1 |
""" |
|
1 | """ImageWidget class. | |
2 |
|
2 | |||
3 |
Represents a |
|
3 | Represents an image in the frontend using a widget. | |
4 | click events on the button and trigger backend code when the clicks are fired. |
|
|||
5 | """ |
|
4 | """ | |
6 | #----------------------------------------------------------------------------- |
|
5 | #----------------------------------------------------------------------------- | |
7 | # Copyright (c) 2013, the IPython Development Team. |
|
6 | # Copyright (c) 2013, the IPython Development Team. | |
@@ -33,4 +32,4 b' class ImageWidget(DOMWidget):' | |||||
33 |
|
32 | |||
34 | value = Bytes() |
|
33 | value = Bytes() | |
35 | def _value_changed(self, name, old, new): |
|
34 | def _value_changed(self, name, old, new): | |
36 | self._b64value = base64.b64encode(new) No newline at end of file |
|
35 | self._b64value = base64.b64encode(new) |
General Comments 0
You need to be logged in to leave comments.
Login now