0.1.0-alpha-3 • Published 6 months ago
@mcaptcha/vanilla-glue v0.1.0-alpha-3
Embed mCaptcha widget in webpages built using Vanilla JavaScript
Usage
Add this snippet to the form which requires to be protected using mCaptcha
<div
id="mcaptcha__widget-container"
></div>
<script src="../dist/index.js"></script>
<script charset="utf-8">
let config = {
widgetLink: new URL(
"https://demo.mcaptcha.org/widget/?sitekey=pHy0AktWyOKuxZDzFfoaewncWecCHo23"
),
};
new mcaptchaGlue.default(config);
</script>
Example
See example form in ./static/embeded.html
0.1.0-rc1
6 months ago
0.1.0-rc2
6 months ago
0.1.0-alpha-3
2 years ago
0.1.0-alpha-2
2 years ago
0.1.0-alpha-1
2 years ago