# angular-fa

> A simple angular directive to put fixed alert on top of page.

Latest version **0.0.2** (published 2015-10-06) · 0 weekly downloads

## Install

```sh
npm install angular-fa
pnpm add angular-fa
yarn add angular-fa
bun add angular-fa
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2015-10-06 |
| First published | 2015-10-06 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.12.x |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+10 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ramesh Kumar |
| Maintainers | codeofnode |
| Keywords | alert, position, angular, fixed |

## Links

- npm: https://www.npmjs.com/package/angular-fa
- Repository: https://github.com/codeofnode/angular-fa
- Homepage: https://github.com/codeofnode/angular-fa#readme
- Issues: https://github.com/codeofnode/angular-fa/issues
- npm.io page: https://npm.io/package/angular-fa

## Dependencies (1)

- [angular](https://npm.io/package/angular.md) ^1.4.6

## Alternatives

- [update-check](https://npm.io/package/update-check.md) — 4.0M weekly downloads
- [react-native-onesignal](https://npm.io/package/react-native-onesignal.md) — 134.5K weekly downloads
- [react-redux-toastr](https://npm.io/package/react-redux-toastr.md) — 33.7K weekly downloads
- [@nocobase/plugin-notification-manager](https://npm.io/package/@nocobase/plugin-notification-manager.md) — 2.0K weekly downloads
- [react-simple-toasts](https://npm.io/package/react-simple-toasts.md) — 1.9K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2015-10-06
- 0.0.1 — 2015-10-06

## README

# angular-fa
#### A simple angular directive to put fixed alert on top of page.

## Install
     npm install --save angular-fa

## Usage
First make your app dependent to `ngFixedAlert`
```javascript
var app = angular.module('app', [ 'ngFixedAlert' ]);
```
Then simply add this line inside body of page

```html
<div r-fa="{{alertMessageScopeVar}}"></div>
<!-- If at any time alertMessageScopeVar becomes empty, the alert will disappear.  -->
```

### Options as attributes of the element with which `r-fa` is linked
* `closable` : if its value is false, the alert can not be disappear. For any other value or no value, alert will displayed until user clears that or timeout happens
* `autoHide` : Only means if closable != `false`. `autoHide` can be number of milliseconds or can be false.
If its value is false, then alert will not disappear until user click on cross link. If its value is numeric then alert will be visible for specified number of miliseconds. By default its value is false,

## Licence
MIT

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