# ng-expandable-area

> Expandable area for Angular4+

Latest version **1.0.5** (published 2018-06-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install ng-expandable-area
pnpm add ng-expandable-area
yarn add ng-expandable-area
bun add ng-expandable-area
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2018-06-11 |
| First published | 2018-06-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 70.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Volodymyr Zub |
| Maintainers | vovanz |
| Keywords | ng4, ng5, ng6, angular, angular4, angular5, angular6, angular4-component, angular5-component, angular6-component, list, expandable list, expandable area |

## Links

- npm: https://www.npmjs.com/package/ng-expandable-area
- Repository: https://github.com/volodymyrzub/ng-expandable-area
- Homepage: https://github.com/volodymyrzub/ng-expandable-area#readme
- Issues: https://github.com/volodymyrzub/ng-expandable-area/issues
- npm.io page: https://npm.io/package/ng-expandable-area

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^1.9.0

## Recent versions

- 1.0.5 (latest) — 2018-06-11
- 1.0.4 — 2018-06-08
- 1.0.3 — 2018-06-07
- 1.0.2 — 2018-06-07
- 1.0.1 — 2018-06-07
- 1.0.0 — 2018-06-07

## README

# ng-expandable-area

> Expandable area for Angular4+
<img src="https://i.imgur.com/FnkVPMB.gif">

Ng Expandable Area is an HTML `<ng-expandable-area>` tag enhanced with styling and animation.

## Table of contents

* [Installation](#installation)
* [Setup](#setup)
* [Usage](#usage)
* [Inputs](#inputs)
* [License](#license)

## Installation

1.  Install the component using `npm`:

  ```bash
  # To get the latest stable version and update package.json file:
  $ npm install ng-expandable-area --save
  ```

## Setup

ng-expandable-area class is an Angular4+ module therefore,
it needs to be registered in the modules array (encouraged way):

```js
// app.module.ts
import { NgModule }             from '@angular/core';
import { BrowserModule }        from '@angular/platform-browser';
import { ExpandableAreaModule } from 'ng-expandable-area';
import { AppComponent }         from './app.component';

@NgModule({
  declarations: [ AppComponent ],
  imports: [
    BrowserModule,
    ExpandableAreatModule // import Angular's ExpandableAreaModule modules
  ],
  bootstrap: [ AppComponent ]
})
export class AppModule { }
```

## Usage
Use in template:
```html
<ng-expandable-area [title]="Title of expandabel section" [opened]="true || false">
<!--Your content-->
</ng-expandable-area>
```

## Inputs
|Name| Type | Default value |
| --- | --- | --- |
|title|string|None |
|opened| boolean | false |


## License
[MIT License]

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