1.0.3 • Published 7 years ago

ng2-dealwithit v1.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

ng2-dealwithit

Just deal with it!

import

import { DealWithItModule } from 'ng2-dealwithit';

include in imports of your module.

usage

Add to your template

<deal-with-it></deal-with-it>

Optional parameter sizePercentage: number (default = 100);

Inject DealWithItService

import { DealWithItService } from 'ng2-dealwithit';

...
constructor(private dealWithItService: DealWithItService) {}
...

Display the dealWithIt on any moment

this.dealWithItService.dealWithIt(top, left);

Clicking on the glasses will hide them again