Skip to content

Commit

Permalink
Remove class_name property (jupyter-widgets#729)
Browse files Browse the repository at this point in the history
  • Loading branch information
deeplook authored Oct 17, 2020
1 parent 2abd245 commit fc51dfd
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion docs/source/api_reference/popup.rst
Original file line number Diff line number Diff line change
@@ -56,5 +56,4 @@ auto_pan_padding (5, 5)
keep_in_view False Set it to `True` if you want to prevent users from panning the popup off of the screen while it is open
close_button True Controls the presence of a close button in the popup
close_on_escape_key True Set it to `False` if you want to override the default behavior of the ESC key for closing of the popup
class_name "" A custom CSS class name to assign to the popup
===================== ===================== ===
2 changes: 0 additions & 2 deletions ipyleaflet/leaflet.py
Original file line number Diff line number Diff line change
@@ -441,7 +441,6 @@ class Popup(UILayer):
close_button = Bool(True).tag(sync=True, o=True)
auto_close = Bool(True).tag(sync=True, o=True)
close_on_escape_key = Bool(True).tag(sync=True, o=True)
class_name = Unicode('').tag(sync=True, o=True)


class RasterLayer(Layer):
@@ -748,7 +747,6 @@ class Path(VectorLayer):
line_cap = Enum(values=['round', 'butt', 'square'], default_value='round').tag(sync=True, o=True)
line_join = Enum(values=['arcs', 'bevel', 'miter', 'miter-clip', 'round'], default_value='round').tag(sync=True, o=True)
pointer_events = Unicode('').tag(sync=True, o=True)
class_name = Unicode('').tag(sync=True, o=True)
opacity = Float(1.0, min=0.0, max=1.0).tag(sync=True, o=True)


3 changes: 1 addition & 2 deletions js/src/layers/Path.js
Original file line number Diff line number Diff line change
@@ -18,8 +18,7 @@ export class LeafletPathModel extends vectorlayer.LeafletVectorLayerModel {
dash_array: null,
line_cap: 'round',
line_join: 'round',
pointer_events: '',
class_name: ''
pointer_events: ''
};
}
}

0 comments on commit fc51dfd

Please sign in to comment.