Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Javascript render parameters #15

Open
mmcarvalho opened this issue May 13, 2024 · 0 comments
Open

Add Javascript render parameters #15

mmcarvalho opened this issue May 13, 2024 · 0 comments

Comments

@mmcarvalho
Copy link
Contributor

Hi, great job on this package.
It would be very nice to support render configurations. Imagine this scenario: render the turnstile on a button click, but with appearance="interaction-only".
Since it takes a bit to act, a loading overlay is shown. If the challenge appears, currently there is no way to know it without listening to the DOM, so the loader can be removed.
If 'before-interactive-callback' would be supported, it would be a matter of configuring the callback.
Does this make sense or am I missing something out?
Thanks.

@mmcarvalho mmcarvalho changed the title Javascript render parameters missing Add Javascript render parameters May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant