Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove class_name #729

Merged
merged 12 commits into from
Oct 17, 2020
1 change: 0 additions & 1 deletion docs/source/api_reference/popup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Up @@ -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):
Expand Down Expand Up @@ -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)


Expand Down
3 changes: 1 addition & 2 deletions js/src/layers/Path.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: ''
};
}
}
Expand Down