This angular.io module includes a component and service that dispatch events to a given endpoint, while tracking a local session.
npm install ems-web-app-event-trackerThis library was generated with Angular CLI version 13.2.0.
Run ng generate component component-name --project event-dispatcher to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project event-dispatcher.
> Note: Don't forget to add --project event-dispatcher or else it will be added to the default project in your angular.json file.
Run ng build event-dispatcher to build the project. The build artifacts will be stored in the dist/ directory.
After building your library with ng build event-dispatcher, go to the dist folder cd dist/event-dispatcher and run npm publish.
Run ng test event-dispatcher to execute the unit tests via Karma.
To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.