Home > @tridion-sites/models > Link
Base class for links to Identifiable Objects.
Signature:
export declare class Link
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)({ backendModel, idRef, isDynamicTarget }) | Constructs a new instance of the Link class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| _backendModel | BackendLink | ||
| create | static |
(itemUri: ItemUri, title?: string, isDynamicTarget?: boolean) => Link | |
| description | string | undefined | Description of the referenced object. | |
| getInternalModel | () => BackendLink | ||
| hasValidTarget | boolean | ||
| idRef | ItemUri | Item URI of the referenced item. | |
| isDynamicTarget | boolean | Whether link’s target has a dynamic version. | |
| targetStatus | LinkTargetStatus | undefined | Link’s target status. | |
| title | string | Title of the referenced item. |