Package Exports
- alloy-frontend
- alloy-frontend/src/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (alloy-frontend) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Alloy Automation Front End Library
The Alloy Automation Front End library provides convenient access to the pre-built modal, which allows easy access to use and embedded Alloy Automation's power into a frontend app.
Documentation
See the alloy-frontend API docs.
Requirements
Node 12 or higher.
Installation
Install the package with:
npm install alloy-frontend
# or
yarn add alloy-frontendUsage
const Alloy = require('alloy-frontend');
const callback = () => { console.log("done") };
const alloy = Alloy();
alloy.setToken(<token>);
alloy.install({ integrationId: 'abc', callback });Note: alloy-node