Docs(Popup+Tooltip): fix typo in bindPopup & bindTooltip (#5578)

methods description.
carto
ghybs 7 years ago committed by Per Liedman
parent f59d20d583
commit 4a0bfb6e5e

@ -365,7 +365,7 @@ Layer.include({
// @method bindPopup(content: String|HTMLElement|Function|Popup, options?: Popup options): this
// Binds a popup to the layer with the passed `content` and sets up the
// neccessary event listeners. If a `Function` is passed it will receive
// necessary event listeners. If a `Function` is passed it will receive
// the layer as the first argument and should return a `String` or `HTMLElement`.
bindPopup: function (content, options) {

@ -250,7 +250,7 @@ Layer.include({
// @method bindTooltip(content: String|HTMLElement|Function|Tooltip, options?: Tooltip options): this
// Binds a tooltip to the layer with the passed `content` and sets up the
// neccessary event listeners. If a `Function` is passed it will receive
// necessary event listeners. If a `Function` is passed it will receive
// the layer as the first argument and should return a `String` or `HTMLElement`.
bindTooltip: function (content, options) {

Loading…
Cancel
Save