Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

Commit

Permalink
docs(typo): update tooltip page
Browse files Browse the repository at this point in the history
  • Loading branch information
themustafaomar committed Aug 15, 2023
1 parent f7b6ebf commit b455e1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tooltip.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const map = new jsVectorMap({
onRegionTooltipShow(event, tooltip, code) {
tooltip.text(
`<h5>${tooltip.text()} - Country</h5>` +
`<p class="text-xs">This message is gonna appear when hovering over every single reion.</p>`,
`<p class="text-xs">This message is gonna appear when hovering over every single region.</p>`,
true // Enables HTML
)
}
Expand Down Expand Up @@ -105,4 +105,4 @@ const map = new jsVectorMap({
tooltip.css({ backgroundColor: '#F00', ... })
}
})
```
```

0 comments on commit b455e1e

Please sign in to comment.