Package Exports
- ngx-dealwithit
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ngx-dealwithit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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