Install using NPM
- Last updated on June 1, 2021 at 11:36 PM
To install the Assistant using javascript rather without a snippet you can use our npm package.
You can see details about the package here: npm package or view the source code here: Github.
You can get documentation about the api of these packages here: api documentation
There is currently a straight javascript package that can be used with any framework or a React wrapper. Other frameworks will be added in the future.
NB: If you are using Angular, make sure you wrap any calls to Elev.io in NgZone.runOutsideAngular otherwise Angular ends up in a loop that freezes the browser. See here for more info runOutsideAngular