PressableContext

A LocationContext that describes an interactive element (like a link, button, icon), that the user can press.

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

Diagram: PressableContext inheritance

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 pressable element. When this is not possible on a specific platform, it will ask for a manual id and _type to be set.