@commutatus/educatly-ambassador-plugin
v1.0.27
Published
Embeddable authentication for AIESEC
Downloads
28
Readme
Educatly Ambassador plugin
Demo: https://edu-ambassador.commutatus.com/ (Running staging environment)
Importing: If you are using it with any app having npm:
run npm install @commutatus/educatly-ambassador-plugin --save
import '@commutatus/educatly-ambassador-plugin
use css from
node_modules/@commutatus/educatly-ambassador-plugin/bundle.css
For all other use cases:
load script from
https://unpkg.com/@commutatus/educatly-ambassador-plugin@latest/bundle.js
and css from
https://unpkg.com/@commutatus/educatly-ambassador-plugin@latest/bundle.css
Usage:
// HTML
<div id="educatly-ambassador-container"></div>
// Javascript
const educatlyAmbassador = new EducatlyAmbassador({
target: document.getElementById('educatly-ambassador-container'),
props: {
ei_id: 'your ei_id' // MANDATORY
}
});
| Option | Default Value | Description | Type | | ------------ | ------------ | ------------ | ------------ | | ei_id | | EI ID given to your institution | Integer |