link
The link object.
Properties
| Property | Description |
|---|---|
link.active | true when the link matches the current page. |
link.child_active | true when a child link is active. |
link.child_current | Buyer-visible child_current value for this link. |
link.current | true for the current item. |
link.handle | URL-safe unique slug. |
link.id | Unique identifier. |
link.levels | Menu depth. |
link.links | Menu links. |
link.object | Buyer-visible object value for this link. |
link.tags | Tags as an array of strings. |
link.title | Display title. |
link.type | Public type or resource-kind identifier. |
link.url | Relative URL of the resource. |
Property list is generated from the storefront engine (LinkDrop), so it always matches what your theme can use. Use {{ link | json }} only as a curated debug snapshot; it can omit lazy or otherwise public properties.