1.1.0 • Published 6 years ago

ngx-dealwithit v1.1.0

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

ngx-dealwithit

Just deal with it!

import

import { DealWithItModule } from 'ngx-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 'ngx-dealwithit';

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

Display the dealWithIt on any moment

this.dealWithItService.dealWithIt(top, left);

Clicking on the glasses will hide them again