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 | — |
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 | — |
link.title | Display title. |
link.type | Product type / object type. |
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. Inspect live values with {{ link | json }}.