Merge pull request #286 from weaseldotro/Add-onclick-to-HeaderPanelLink

Add on:click to HeaderPanelLink
This commit is contained in:
Eric Liu 2020-09-26 16:49:58 -07:00 committed by GitHub
commit 853eda8031
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@
</script>
<li class:bx--switcher__item="{true}">
<a href="{href}" class:bx--switcher__item-link="{true}" {...$$restProps}>
<a href="{href}" class:bx--switcher__item-link="{true}" {...$$restProps} on:click>
<slot />
</a>
</li>