Lightweight Angular wrapper on Web Share API to share PWA apps, Text, URL.
This library will save you from checking and writing all the cases for Web Share API, if
Navigator.share() API is available in your browser or not. So instead of writing all that, you can use this wrapper.
Check the ng-navigator-share in action, click here.
You can use either the npm or yarn command-line tool to install packages. Use whichever is appropriate for your project in the examples below.
npm install --save ng-navigator-share
yarn add --save ng-navigator-share
Follow below steps to add multi level list in your project
NgNavigatorShareService in your component class
You need to import the
NgNavigatorShareService in your component class, where you want to use it. Then use the
this.ngNavigatorShareService.share() method, which will return Promise as shown below.
2. In your Markup
I welcome you to fork and add more features into it. If you have any bugs or feature request, please create an issue at github repository.