UI.Link is just a unified-type for both Element.link and `Element.newTabLink
For a pratical example see Link.wrapElement.
The LinkTarget is equivalent to HTML anchor's target.
Modify the link behaviour to open the URL in the same tab or a new one.
Link.link "https://www.googgle.com"
|> Link.withTarget Link.targetNewLinkTarget value for opening the link in a new tab.
Link.withTarget Link.targetNew someLinkLinkTarget value for opening the link in the same tab.
Link.withTarget Link.targetRedirect someLinkNOTE: This is the default behaviour.
Link.wrapElement is similar to Element.el but including the anchor linking behaviour.
Link.wrapElement renderConfig [ Element.centerX, Element.centerY ] (Link.link "https://www.github.com") someOtherElement
The
Link msgtype is used for describing the component for later rendering.