0.0.122 • Published 1 year ago

svelte-navbar v0.0.122

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year 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 year ago

0.0.121

1 year ago

0.0.120

1 year ago

0.0.117

1 year ago

0.0.115

3 years ago

0.0.114

3 years ago

0.0.113

3 years ago

0.0.112

3 years ago

0.0.111

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago