Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

orjandesmet/ngx-dealwithit

Repository files navigation

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