Skip to content

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

Open

Description

@buschtoens

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)?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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