A service library for integrate cobrowse.io in your angular project. This library was generated with Angular CLI version 9.1.12.
The following steps must be done to activate Cobrowse in your angular project
Run the following command to install the library
npm i --save @nilsthomann/ng-cobrowse
After the installation you have to provide your license key in app.module.ts
providers: [
...
{provide: COBROWSE_IO_LICENSE_KEY, useValue: '[YOUR_LICENSE_KEY]'}
],
inject the cobrowseService in your controller and start a session
constructor(
...
private cobrowseService: CobrowseService,
) {
...
cobrowseService.start();
}
If you have your own enterprise instance, you have to provide your API URL in app.module.ts
providers: [
...
{provide: COBROWSE_IO_API_URL, useValue: '[YOUR_API_URL]'} // as example 'https://cobrowse.example.com'
],
- Nils Thomann - Initial work - Nils Thomann
See also the list of contributors who participated in this project.
This project is licensed under the MIT License
- Thanks to PurpleBooth for the Readme Template