# ember-cli-resize-browser-message

> The default blueprint for ember-cli addons.

Latest version **0.0.1** (published 2016-08-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install ember-cli-resize-browser-message
pnpm add ember-cli-resize-browser-message
yarn add ember-cli-resize-browser-message
bun add ember-cli-resize-browser-message
```

## 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 | 2016-08-05 |
| First published | 2016-08-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.10.0 |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | ousikaa |
| Keywords | ember-addon |

## Links

- npm: https://www.npmjs.com/package/ember-cli-resize-browser-message
- npm.io page: https://npm.io/package/ember-cli-resize-browser-message

## Dependencies (2)

- [ember-cli-babel](https://npm.io/package/ember-cli-babel.md) ^5.1.6
- [ember-cli-htmlbars](https://npm.io/package/ember-cli-htmlbars.md) ^1.0.3

## Recent versions

- 0.0.1 (latest) — 2016-08-05

## README

# Ember-cli-resize-browser-message

This README outlines the details of collaborating on this Ember addon.

## Installation

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

## Running

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

## Running Tests

* `npm test` (Runs `ember try:testall` to test your addon against multiple Ember versions)
* `ember test`
* `ember test --server`

## Building

* `ember build`

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

# How To Use This Addon

This is a small addon that provides boilerplate markup, styles, and conditional formatting for yor app's browser resize message. 

To install run the following command in your Ember app:

`ember install ember-cli-browser-resize-message`

or 

`npm install ember-cli-browser-resize-message --save`

The resize browser message component should be placed in your `application.hbs` file.

```hbs
// templates/application.hbs

{{resize-browser-message}}
```

When the browser resize message should appear (that is what at dimensions) should be configured via media queries in your CSS.

```css
@media all and (max-width: 300px) and (max-height: 300px) {
    .resize-browser-message {
        display: block;
    }
}
}
```

If you want to display custom markup, then use the component as a block:

```hbs
// templates/application.hbs

{{#resize-browser-message
    // You have also have to set `customMessage` to be true
    customMessage=true
}}
{{/resize-browser-message}}
```

There's not much to it. Good luck and have fun!

---
_Source: https://npm.io/package/ember-cli-resize-browser-message · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
