0.0.122 • Published 1 month ago

svelte-navbar v0.0.122

Weekly downloads
-
License
MIT
Repository
-
Last release
1 month ago

svelte navbar

well, as the name suggest this package provides a svelte-component that would be used as a navbar.

Installation

npm i svelte-navbar

Usage

<script lang="ts">
    import Navbar, {NavbarItem} from 'svelte-navbar';
</script>

<Navbar>
    <NavbarItem on:click={(e) => scrollTop()}>Home</NavbarItem>
    <NavbarItem on:click={(e) => routeToPage('shop', false)}>Shop</NavbarItem>
</Navbar>

API

this is still WIP

Example

an example can be found here with implementation here

0.0.122

1 month ago

0.0.121

4 months ago

0.0.120

4 months ago

0.0.117

4 months ago

0.0.115

2 years ago

0.0.114

2 years ago

0.0.113

2 years ago

0.0.112

2 years ago

0.0.111

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago