Skip to content

Making your app clickable

Sarah edited this page Jul 8, 2020 · 3 revisions

A static app isn't interesting at all. Make yours go places with action and href

A clickable icon would look like this (assuming looping through a data set):

To open in a web browser: "components": [{ "type": "image", "url": "{{icon}}", "style": { "width": "45", "height": "45" }, "href": { "url": "{{url}}", "view": "web" }]

To open using a json file in the app: "components": [{ "type": "image", "url": "{{icon}}", "style": { "width": "45", "height": "45" }, "href": { "url": "{{url}}" }]

Clone this wiki locally