function sap/ui/util/defaultLinkTypes

Visiblity: restricted
Available since: N/A
Module: sap/ui/util/defaultLinkTypes
Application Component:

Determines default link types for an <a> tag that comply with best practices for cross-origin communication.

When the target will be opened in a new window, and when no other link types have been specified in the rel attribute, "noopener noreferrer" will be returned.


Parameters Overview

Param Type Default Value Description
sRel string Caller defined link types for the rel attribute
sTarget string Value of the target attribute

Methods Overview

Method Description