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

Let config.stage accept an element or a string #3

Open
wants to merge 2 commits into
base: master
from

Conversation

@ccoenen
Copy link

commented May 15, 2012

Originally, you have to initialise with the ID-String of the desired element. With this patch, you may also specify a DOM-Element.

Advantages:

  • no need for IDs for everything
  • Traqball can be initialised on elements that are not yet inserted into the dom.
@ccoenen

This comment has been minimized.

Copy link
Author

commented May 15, 2012

actually the patch request is just for cbe2d93, the other one has its own Pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.