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

define onFinish using data-* attribute #789

Open
jacksund opened this issue Feb 26, 2024 · 0 comments
Open

define onFinish using data-* attribute #789

jacksund opened this issue Feb 26, 2024 · 0 comments
Assignees
Labels
Help wanted Person asking for help

Comments

@jacksund
Copy link

is it possible to define onFinish using data attributes?

For example:

<input type="text" class="js-range-slider" name="my_range" value=""
        data-type="double"
        data-min="0"
        data-max="1000"
        data-onFinish="console.log('finished!');"
    />
@jacksund jacksund added the Help wanted Person asking for help label Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help wanted Person asking for help
Projects
None yet
Development

No branches or pull requests

2 participants