Skip to content

Instantly share code, notes, and snippets.

@ruswerner
Created September 22, 2014 21:28
Show Gist options
  • Save ruswerner/8c364b4d0ad8ce9279a1 to your computer and use it in GitHub Desktop.
Save ruswerner/8c364b4d0ad8ce9279a1 to your computer and use it in GitHub Desktop.
[
{
"trigger": "click",
"action": "share-pinterest",
"targets": null
},
{
"trigger": "click",
"action": "share-twitter",
"targets": null
},
{
"trigger": "click",
"action": "share-facebook",
"targets": null
},
{
"trigger": "click",
"action": "share-email",
"targets": null
},
{
"trigger": "click",
"action": "shopping-cart",
"targets": null
},
{
"trigger": "click",
"action": "product",
"targets": ["<productPanelId>"]
},
{
"trigger": "click",
"action": "url",
"targets": ["<url>"]
},
{
"trigger": "click",
"action": "page-next",
"targets": null
},
{
"trigger": "click",
"action": "page-prev",
"targets": null
},
{
"trigger": "click",
"action": "page-goto",
"targets": ["<page#>"]
},
{
"trigger": "click",
"action": "show-layers",
"targets": ["<layerId>","<layerId>","<layerId>"]
},
{
"trigger": "click",
"action": "hide-layers",
"targets": ["<layerId>","<layerId>","<layerId>"]
},
{
"trigger": "click",
"action": "toggle-layers",
"targets": ["<layerId>","<layerId>","<layerId>"]
},
{
"trigger": "rollover",
"action": null,
"defaultTarget": "<layerId>",
"rolloverTarget": "<layerId>",
"flyoutTarget": "<layerId>"
}
]
@danwashable
Copy link

URL action needs the property 'urlDestination'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment