You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
358 B
Svelte
11 lines
358 B
Svelte
4 years ago
|
<script>
|
||
|
function scroll() {
|
||
|
document.getElementById("main-content").scrollIntoView({behavior: 'smooth'});
|
||
|
document.querySelector(".horizontal-menu").scrollIntoView({behavior: 'smooth'});
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<button type="button" class="button primary cool-button" style="margin-top: 1vh; border-radius: 4vw" on:click="{scroll}">
|
||
|
↓ Zjisti více
|
||
|
</button>
|