diff --git a/README.md b/README.md
index 34b6ae5..c5d615c 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@ Import it in your Angular2 project like a module
```
-1) Use it in your components
+2) Use it in your components
```sh
import {Component} from '@angular/core';
@@ -43,7 +43,21 @@ Import it in your Angular2 project like a module
})
export class LabelComponent {}
+ ```
+ **NEW! Support for autoresize input box!**
+
+ ```sh
+ import {Component} from '@angular/core';
+
+ @Component({
+ selector: 'inputbox',
+ template: `
+ `,
+
`
+ })
+
+ export class InputBoxComponent {}
```
Parameters:
@@ -53,7 +67,7 @@ Import it in your Angular2 project like a module
| fittext | is the selector of the directive | true/false
| container | the container to fit | ElementRef
| activateOnResize | enable/disable the autofit in case of window resize | true or false (default false)
-
+ | activateOnInputEvents | enbale/disable the autofit in case of input box events (keydown, keyup etc..) | true or false (default false)
### Development
diff --git a/package.json b/package.json
index 743e4e7..535ea2c 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "ng2-fittext",
- "version": "1.0.13",
+ "version": "1.0.14",
"description": "An Angular2 directive for autoscale the font size of an element to fit an upper level container.",
"main": "index.js",
"scripts": {