Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 965 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 965 Bytes

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} />