ng-expandable-area
Version:
Expandable area for Angular4+
65 lines (49 loc) • 1.43 kB
Markdown
# 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';