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

Multiple labels on click #120

Open
nilokillian opened this issue Feb 7, 2020 · 0 comments
Open

Multiple labels on click #120

nilokillian opened this issue Feb 7, 2020 · 0 comments

Comments

@nilokillian
Copy link

Hi, is it possible to assign onClick event to each label
The given example doesn't work
labels: [ { render: () => "\uf055", onClick: e => { alert(e); }, position: "outside" }, { onClick: e => { alert(e); }, render: (args: any) => args.dataset.labels[args.index].split(" ").join("\n") } ]

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