Home > @shopware-pwa/helpers > getCmsLinkTarget

# getCmsLinkTarget() function

Return the target attribute for the cms link

Signature:

export declare function getCmsLinkTarget(content?: Omit<CmsSlot, "data"> & {
    data?: {
        url?: string;
        newTab?: boolean;
    };
}): String;

# Parameters

Parameter Type Description
content Omit<CmsSlot, "data"> & { data?: { url?: string; newTab?: boolean; }; }

Returns:

String