@svelte-put/cloudflare-turnstile
v1.0.0
Published
Action for rendering Cloudflare turnstile into HTML node
Downloads
1,455
Maintainers
Readme
@svelte-put/cloudflare-turnstile
Svelte action use:cloudflare-turnstile
- event for clicking outside a node
svelte-put
This package is part of the @svelte-put family. For contributing guideline and more, refer to its readme.
Usage & Documentation
See the dedicated documentation page here.
Quick Start
<!-- component.svelte -->
<script>
import { turnstile } from '@svelte-put/cloudflare-turnstile';
</script>
<div
use:turnstile
turnstile-sitekey="1x00000000000000000000AA"
turnstile-theme="dark"
turnstile-size="normal"
></div>