# eureka-widget-collection-navbar

> An actionable navbar for Eureka collection.

Latest version **0.0.1** (published 2015-03-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install eureka-widget-collection-navbar
pnpm add eureka-widget-collection-navbar
yarn add eureka-widget-collection-navbar
bun add eureka-widget-collection-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.0.1 |
| Published | 2015-03-09 |
| First published | 2015-03-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.10.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | namlook |
| Keywords | ember-addon, eureka-widget |

## Links

- npm: https://www.npmjs.com/package/eureka-widget-collection-navbar
- npm.io page: https://npm.io/package/eureka-widget-collection-navbar

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2015-03-09

## README

# Eureka-widget-collection-navbar

An actionable navbar for Eureka collection. Usage:

    {
        BlogPost: {
            views: {
                collection: {
                    outlet: {
                        widgets: [
                            {
                                type: "collection-navbar",

                                // the label displayed at the begining of the navbar.
                                // Set to "auto" to diplay the pod type,
                                // setting to null will hide it
                                label: 'auto',

                                // the route when clicking on the label.
                                //  - if null or undefined, the route will be <resource>.collection.index
                                //  - if false, the label won't be clickable
                                labelRoute: null,

                                // main actions
                                actions: [
                                    {
                                        icon: 'glyphicon glyphicon-plus',
                                        label: 'create',
                                        route: 'eureka.species.empty.new'
                                    }
                                ],

                                secondaryActions: [
                                    {
                                        label: 'extincts',
                                        route: 'eureka.species.collection.extincts'
                                    },
                                    {
                                        label: 'oldies',
                                        route: 'eureka.species.collection.oldies'
                                    },
                                    {divider: true},
                                    {
                                        label: "users",
                                        route: 'eureka.user.collection.index'
                                    },
                                ]
                            }
                        ]
                    }
                }
            }
        }
    }

### Customizing the label

Want more customization power of the label ? Just extend the component
and modify the `label` attribute.


## Installation

* `git clone` this repository
* `npm install`
* `bower install`

## Running

* `ember server`
* Visit your app at http://localhost:4200.

## Running Tests

* `ember test`
* `ember test --server`

## Building

* `ember build`

For more information on using ember-cli, visit [http://www.ember-cli.com/](http://www.ember-cli.com/).

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