0.2.1 • Published 9 months ago
@leaddesk/leadapp-api v0.2.1
LeadApp Integration Library
Javascript library to ease the integration with LeadDesk Applications
Usage
import { init } from "@leaddesk/leadapp-api/";
init().then((api) => {
// Request full screen mode
api.fullscreenEnable();
});
API documentation
Full documentation of the LeadDesk API can be found from here.
Example
The example directory contains a sample application, see its own README for more information.
The included Dockerfile can be used to build a container image which serves the example application under /pkg and /script where the 'pkg' version uses the leadapp API as a package and the 'script' version loads it using a HTML script element.