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

On-Click #103

Open
corey-dawson opened this issue Jun 26, 2023 · 1 comment
Open

On-Click #103

corey-dawson opened this issue Jun 26, 2023 · 1 comment
Labels

Comments

@corey-dawson
Copy link

corey-dawson commented Jun 26, 2023

Hello,
I was wondering if there is a simple "on-click" listener? I would like to have create a sortable list where a user could click the card to get more information (maybe via a shinyalert or modal), and also drag the card to re-order. The listener could return the text on the card that was clicked perhaps.
Thanks in advance,
Corey

@andrie
Copy link
Member

andrie commented Jun 26, 2023

You can find the documentation for the SortableJS library at https://github.com/SortableJS/Sortable

The onChoose event might be what you're looking for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants