@invitation/embed
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -1,1 +0,1 @@ | ||
function append(e){const n=document.createElement("script");var t="https://invitation.codes/invitation-widgets.js";return t+="?via=npm-module-embed",e.locale&&(t+="&locale="+e.locale),n.src=t,n.async=!0,n.defer=!0,n.onload=function(){console.log("💬 🎁 invitation.codes ⦚ embed script loaded via ES6 module (https://www.npmjs.com/package/@invitation/embed) ")},document.head.appendChild(n),n}function init(e){var n=append(e=e||{});return e.onload,{tag:n}}export{init as default}; | ||
function append(e){const n=document.createElement("script");var t="https://invitation.codes/invitation-widgets.js";return t+="?via=npm-module-embed",e.locale&&(t+="&locale="+e.locale),n.src=t,n.async=!0,n.defer=!0,n.onload=function(){console.log("💬 🎁 invitation.codes ⦚ embed script loaded via ES6 module (https://www.npmjs.com/package/@invitation/embed) ")},document.head.appendChild(n),n}function init(e){if(window.INVITATION_embed_lib)return!1;var n=append(e=e||{});e.onload;n={tag:n};return window.INVITATION_embed_lib=n}export{init as default}; |
{ | ||
"name": "@invitation/embed", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "A module that enables dynamic embeds and widgets from Invitation 🎁 https://invitation.codes", | ||
"homepage": "https://invitation.codes", | ||
"main": "index.js", | ||
@@ -18,10 +19,11 @@ "scripts": { | ||
"invitation", | ||
"embeds", | ||
"widgets", | ||
"embed", | ||
"referral", | ||
"coupon", | ||
"codes", | ||
"promo", | ||
"codes", | ||
"widget", | ||
"promo", | ||
"social", | ||
"marketing" | ||
"marketing", | ||
"community" | ||
], | ||
@@ -28,0 +30,0 @@ "author": "invitation.codes", |
# Invitation codes 🔗 embed | ||
## What is it? | ||
### What is it? | ||
Invitation's widgets lets you add custom badges or embeds to your website. Members can features their referral codes on on their sites and publishers can automatically show deals and coupons for any brands. | ||
<a href="https://invitation.codes/">Invitation codes</a>'s widgets lets you add custom badges or embeds to your website. Members can features their referral codes on on their sites and publishers can automatically show deals and coupons for any brands. | ||
# Setup 🚀 (react, vue, etc) | ||
# Setup 🚀 | ||
### Install the lib | ||
### Install the lib (react, vue, etc) | ||
@@ -43,3 +43,3 @@ ``` | ||
Now, anywhere in your templates, you can include <a href="https://www.invitation.codes/">Invitation</a> custom components. | ||
Now, anywhere in your templates, you can include <a href="https://invitation.codes/">Invitation</a> custom components. | ||
There are many widgets to choose from, and they can be customized via html attributes. | ||
@@ -63,4 +63,11 @@ Some popular ones includes: | ||
The specefic of attriutes and available tags changes frequently, check the Invitation codes webiste for details specs: | ||
The specefics of attriutes and available tags changes frequently, check the Invitation codes webiste for details specs: | ||
https://www.invitation.codes/widgets (sign-in required) | ||
https://invitation.codes/widgets (sign-in required) | ||
## Support | ||
If you have questions or a bug to report, the best way to reach us is via Invitation's paltform inbox: | ||
https://invitation.codes/@support | ||
<a href="https://invitation.codes/@support?utm_source=badge-featured&utm_medium=badge" target="_blank"><img src="https://invitation.codes/api/widgets/badge/profile/Owc4NhV2y/color/invitation_codes_profile.svg?cta=message" alt="Support team - Hi! We're here to help 💪 | Invitation" style="width: 250px; height: 54px;" width="250" height="54" /></a> |
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
3737
2
72