Unlike alternative embedding solutions, the Pyramid Embed APIs safely ans securely INJECT code into the host page. This means the application is running IN the page versus running via an Iframe ON the page. The benefit of this approach is that the embedded solution is far more efficient and scalable as a technique:
- it uses less memory
- is significantly faster
- there can be multiple instances on the same hosting page (with less performance impact)
- it fits the single-page app architectures and design methodologies.
There are 2 techniques for accessing the API library file:
Inside your development project install the API using the following syntax for NPM:
Embed API Examples