LinkContext

A PressableContext that contains a href.

graph LR AbstractContext["AbstractContext<span class='properties'>id: string<br /></span>"] --> AbstractLocationContext; AbstractLocationContext --> PressableContext --> LinkContext["LinkContext<span class='properties'>href: string<br /></span>"]; class LinkContext diagramActive click AbstractLocationContext "/docs/taxonomy/location-contexts" "See details" _self click PressableContext "/docs/taxonomy/reference/location-contexts/PressableContext" "See details" _self

Diagram: LinkContext inheritance

Properties

typedescription
hrefstringURL (href) the link points to.

Inherited Properties

typedescription
idstringA unique string identifier to be combined with the Context Type (_type) for Context instance uniqueness.
setting of the id & type

The tracker will automatically set the id and _type based on the link element. When this is not possible on a specific platform, it will ask for a manual id and _type to be set.