# eureka-widget-model-display

> An Eureka widget that display a model.

Latest version **0.0.4** (published 2015-04-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install eureka-widget-model-display
pnpm add eureka-widget-model-display
yarn add eureka-widget-model-display
bun add eureka-widget-model-display
```

## 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.4 |
| Published | 2015-04-06 |
| First published | 2015-03-13 |
| 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-model-display
- npm.io page: https://npm.io/package/eureka-widget-model-display

## 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.4 (latest) — 2015-04-06
- 0.0.3 — 2015-03-31
- 0.0.2 — 2015-03-13

## README

# Eureka-widget-model-display

An Eureka widget that display a model. Usage:

    {
        BlogPost: {
            views: {
                model: {
                    index: {
                        widgets: [
                            {
                                type: 'model-display',

                                // the widget label. If "auto", display the model's title
                                label: "auto",

                                // display only the specified fields
                                fields: ['title', 'body', 'tags'],

                                // the text to display if no all the fields has no value
                                // (works only if `displayEmptyValue is not `true`)
                                emptyPlaceholderLabel: 'no informations found',

                                // if `true` display the field label even if there is no value
                                displayEmptyValue: true

                                // if `true` hide the labels
                                hideLabels: false
                            }
                        ]
                    }
                }
            }
        }
    }


## 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-model-display · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
