Skip to content

Commit

Permalink
add datawrapper component
Browse files Browse the repository at this point in the history
  • Loading branch information
benkates committed Feb 19, 2024
1 parent 6049d61 commit 4d996ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/DatawrapperIframe/DatawrapperIframe.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
<Template let:args>
<DatawrapperIframe
{...args}
on:regionclick
on:regionmouseenter
on:regionmouseleave
on:regionclick={(e) => (test = e.detail.data.fips)}
on:regionmouseenter={(e) => (test = e.detail.data.fips)}
on:regionmouseleave={() => (test = "Hover over a region to change this text")}
Expand Down

0 comments on commit 4d996ad

Please sign in to comment.