Get Link Target
element.getTarget()
Get the target value of the link block element. Links can target URLs emails, and phone numbers, as well as pages within a site, elements on a page, and attachments.
Syntax
Returns
Promise<null | string | Page | AnyElement | Asset>
A Promise that resolves to the target value of the link. The target value can be a string, Page, Element, or an Asset object.
Example
Designer Ability
Checks for authorization only