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

Is there a way to add callback functions to share buttons? #32

Open
chintan-wolffkraft opened this issue Jun 8, 2020 · 3 comments
Open

Comments

@chintan-wolffkraft
Copy link

Is there a way to add callback functions to share buttons?

@estevanmaito
Copy link
Owner

Currently no, but I could consider adding it depending on the case. What are your needs for it?

@chintan-wolffkraft
Copy link
Author

I was thinking of adding custom buttons as well, instead of share, such as copy to clipboard or privates notes as well.

@ngreve
Copy link

ngreve commented Dec 7, 2020

Callback for text selection would be great. It would be nice to check if the current selection includes more character than allowed by twitter, to cut the text off and append ... at the end.
In that case, it would make sense if each button could have its own callbacks, because each social network has its own limits.

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

3 participants