Files
housesof/src/atoms/LinkChange.svelte
Félix Péault 37c5cb2c4e
All checks were successful
continuous-integration/drone/push Build is passing
Bring back the sapper-noscroll attribute
Window scroll is now been triggered manually during the page transition and not automatically by Sapper
2020-04-04 11:46:17 +02:00

13 lines
244 B
Svelte

<script>
export let href = '#'
export let text = ''
export let noScroll = undefined
</script>
<a href={href} class="link-change" sapper-noscroll={noScroll}>
{text}
<span class="icon">
<slot></slot>
</span>
</a>