Skip to content

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

@brunoti

Description

@brunoti

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() {}
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions