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

Implemented support for ID attribute #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danielwaghorn
Copy link

I thought it might be useful to add support for an ID attribute on each of the circle elements which are output for each knot.

I went ahead and implemented it as an additional option that can be supplied in the events much like the other knot-wise options like color and radius. README.md has been updated in order to reflect this new option and both the source and minified version of the file have been updated.

The reason I added this was that it could allow me to bind events to each knot therefore allowing me to add an additional degree of interactivity.

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

Successfully merging this pull request may close these issues.

1 participant