{ "type": "vertical", "style": { "background": "#d5d5f5", "padding": "10", "spacing": "10", "width": "200", "height": "325" }, "components": [ { "type": "image", "url": "http://image.issuu.com/{{document_id}}/jpg/page_1_thumb_large.jpg", "style": { "align": "center" } }, { "type": "label", "style": { "size": "18", "align": "center" }, "text": "{{month.toString() + '/' + year.toString()}}", "foo": "{{ console.log(month) }}" } ], "action": { "type": "$global.set", "options": { "filename": "{{filename}}" }, "success": { "type": "$href", "options": { "url": "http://issuu.com/knightstemplar/docs/{{name}}?e=9348930/42400614", "view": "web", "name": "{{ console.log(month) }}", "transition": "fullscreen", "style": { "background": { "type": "html", "text": "....", "action": { "type": "$default" } } } } } } }