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

Enforce new tab (target="_blank") via UILinkParams #289

Open
buschtoens opened this issue Feb 22, 2020 · 0 comments
Open

Enforce new tab (target="_blank") via UILinkParams #289

buschtoens opened this issue Feb 22, 2020 · 0 comments

Comments

@buschtoens
Copy link
Owner

buschtoens commented Feb 22, 2020

Relates to #6 (support for Cmd / Ctrl click).

Ideas:

  • (link "foo" newTab=true)
  • (link "foo" target="_blank"), support for generic targets?
  • It would be nice, if target could be applied to the <a>.
    • A modifier for jointly applying all attributes and click listener?
    • target property on Link / UILink?
    • Should the click handler respect the target attribute of the <a> tag?
  • Should we allow the "call site" to opt-out?
    • We could use transitionTo / replaceWith as an explicit opt-out.
    • Add a more generic navigate.
    • Relation to External Links #290 (external links)?
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