# wiesels-navbar

> angular and ui-router based responsive navbar

Latest version **0.6.13** (published 2015-05-10) · BSD license · 0 weekly downloads

## Install

```sh
npm install wiesels-navbar
pnpm add wiesels-navbar
yarn add wiesels-navbar
bun add wiesels-navbar
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.6.13 |
| Published | 2015-05-10 |
| First published | 2015-05-10 |
| Weekly downloads | 0 |
| License | BSD |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Philip Ullrich |
| Maintainers | wiesel |
| Keywords | angular, ui-router, responsive, wiesel, navbar |

## Links

- npm: https://www.npmjs.com/package/wiesels-navbar
- Repository: https://github.com/wiesel78/wiesels-navbar
- Issues: https://github.com/wiesel78/wiesels-navbar/issues
- npm.io page: https://npm.io/package/wiesels-navbar

## Dependencies (6)

- [grunt](https://npm.io/package/grunt.md) *
- [grunt-ts](https://npm.io/package/grunt-ts.md) *
- [grunt-contrib-copy](https://npm.io/package/grunt-contrib-copy.md) *
- [grunt-contrib-less](https://npm.io/package/grunt-contrib-less.md) *
- [grunt-contrib-clean](https://npm.io/package/grunt-contrib-clean.md) *
- [grunt-contrib-uglify](https://npm.io/package/grunt-contrib-uglify.md) *

## Alternatives

- [express-promise-router](https://npm.io/package/express-promise-router.md) — 736.1K weekly downloads
- [next-usequerystate](https://npm.io/package/next-usequerystate.md) — 29.8K weekly downloads
- [@bitkyc08/opencodex](https://npm.io/package/@bitkyc08/opencodex.md) — 4.6K weekly downloads
- [lynkr](https://npm.io/package/lynkr.md) — 575 weekly downloads
- [baremetal.js](https://npm.io/package/baremetal.js.md) — 42 weekly downloads

## Recent versions

- 0.6.13 (latest) — 2015-05-10

## README

wiesels-navbar
==============

angular, angular-ui-router based responsive navbar

## Install

```
    npm install wiesels-navbar --save
```
  
link it to index.html

```
    <link type="text/css" href="wiesels-navbar.css"/>
    <script src="wiesels-navbar.min.js" type="text/javascript"></script>
```
  
and to angular

```
    var main = angular.module("yourmainmodule", [
        ... // your submodules
        "wiesels.navbar"
    ]);
```
  
## Use

In your controller inject the NavbarService and create a navbar object
  
```
    scope.navbar = NavbarService.create();

    scope.navabr.setButton(
        scope.navbar.createButton(
            {
                route : "home.navList"
            }
        )
    );

    scope.navbar.set(
        [
            {
                label : "home",
                css : "fa fa-home",
                route : "home.description",
                visibility : {}
            },
            {
                label : "sndSite",
                css : "fa fa-phone",
                route : "home.sndSite",
                visibility : {}
            }
        ]
    );
```
  
in your view

```
    <nav class="navbar navbar-default navbar-fixed-top" wiesels-navbar="vm.navbar">
    <div class="container" ui-view></div>
```

---
_Source: https://npm.io/package/wiesels-navbar · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
