Skip to content

Latest commit

 

History

History

svelte

Svelte JS Glue library

Embed mCaptcha widget in webpages built using Svelte Js

NPM JavaScript Style Guide 0.1.0 Build) codecov

Install

npm install --save @mcaptcha/svelte-glue

Usage

<script lang="ts">
	import Widget from '@mcaptcha/svelte-glue';

	const config = {
		widgetLink: new URL('https://demo.mcaptcha.org/widget/?sitekey=foo')
	};
</script>

<Widget {config} />