@exanic/ng-cobrowse
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

Cobrowse Service Library for Angular

A service library for integrate cobrowse.io in your angular project. This library was generated with Angular CLI version 9.1.12.

Getting Started

The following steps must be done to activate Cobrowse in your angular project

Installing

Run the following command to install the library

npm i --save  @exanic/ng-cobrowse

Setup

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();
     }

Enterprise Instance

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'
    ],

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License

Acknowledgments

Readme

Keywords

none

Package Sidebar

Install

npm i @exanic/ng-cobrowse

Weekly Downloads

1

Version

2.0.1

License

MIT

Unpacked Size

38.2 kB

Total Files

14

Last publish

Collaborators

  • andriwandres
  • nils.thomann
  • exanic.ch