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

Create a debug mode for better browser visualization and maybe an options feature #4

Open
brunoti opened this issue Sep 24, 2016 · 0 comments

Comments

@brunoti
Copy link
Owner

brunoti commented Sep 24, 2016

It could be activated like:

TableLink.init({debug: true})

Than the selector:

TableLink.init({
  debug: true,
  selector: 'div',
})

Maybe other things:

TableLink.init({
  debug: true,
  selector: '[role="link"]',
  useDefaultSelectors: false,
  defaultAnchorBehavior: true, // Like: middle-click and click pressing ctrl (or cmd) or shift
  delegateContainer: document.body // Maybe also pass a selector like ".tables-with-TableLink"
  before() {},
  after() {}
})
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