Skip to content

Commit

Permalink
Add Docstring for L.Marker getElement() (Leaflet#9180)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuri-karelics authored Jun 17, 2024
1 parent dc0f76b commit cd91b0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/layer/marker/Marker.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ export const Marker = Layer.extend({
return this;
},

// @method getElement(): HTMLElement
// Returns the instance of [`HTMLElement`](https://developer.mozilla.org/docs/Web/API/HTMLElement)
// used by L.Marker layer.
getElement() {
return this._icon;
},
Expand Down

0 comments on commit cd91b0d

Please sign in to comment.