TheDMSGroup / embed.js

Embed any form, anywhere.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

embed.js

Embed implementation for the Studio CRM product built on top of formio.js using modern ES6 practices and compiled to ES5 using the babel compiler.

Install with NPM

npm install @ivanljutyj/embed.js

Desktop Browser Support

Internet Explorer Edge Firefox Safari Chrome
10+ 15+ 25+ 6.2+ 20+

Mobile Browser Support

iPhone Safari Android Native Android Chrome Android Firefox
iPhone 4S+ (iOS 6) 4.3+ 4.3+ 4.3+

Form Embedding

    <script src="dist/embed.js"></script>
    <script>crm.embed({ account: 'DMS', target: 1, url: 'http://studio.test' });</script>

Config Options

  • account - REQUIRED
  • target|form - REQUIRED
  • url - OPTIONAL
  • ignoreHistory - true|false - OPTIONAL

Form Builder Embedding

    <script src="dist/embed.js"></script>
    <script>crm.build();</script>

About

Embed any form, anywhere.

License:MIT License


Languages

Language:JavaScript 92.3%Language:HTML 5.9%Language:CSS 1.9%