Advertisement
Guest User

Untitled

a guest
Jan 29th, 2020
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.54 KB | None | 0 0
  1. {
  2.   "$jason": {
  3.     "head": {
  4.       "title": "iOS Dev Weekly Master",
  5.       "actions": {
  6.         "$load": {
  7.           "type": "$network.request",
  8.           "options": {
  9.             "url": "http://qr.afip.gob.ar/?qr=WxM7GOz7QWU703QSbzEhXg,,",
  10.             "data_type": "html"
  11.           },
  12.           "success": {
  13.             "type": "$render",
  14.             "options": {
  15.               "type": "html"
  16.             }
  17.           }
  18.         }
  19.       },
  20.       "templates": {
  21.         "body": {
  22.           "style": {
  23.             "border": "none"
  24.           },
  25.           "header": {
  26.             "style": {
  27.               "background": "#0070c9",
  28.               "shy": "true",
  29.               "color": "#ffffff"
  30.             },
  31.             "title": "iOS Dev Weekly"
  32.           },
  33.           "sections": [
  34.             {
  35.               "items": {
  36.                 "{{#each $jason.find('.unit-50')}}": {
  37.                   "type": "vertical",
  38.                   "style": {
  39.                     "padding": "20",
  40.                     "color": "#cecece",
  41.                     "spacing": "10"
  42.                   },
  43.                   "components": [
  44.                     {
  45.                       "type": "horizontal",
  46.                       "components": [
  47.                         {
  48.                           "type": "label",
  49.                           "style": {
  50.                             "font": "HelveticaNeue-Bold",
  51.                             "size": "14"
  52.                           },
  53.                           "text": "{{$(this).find('.lblNombre').text()}}"
  54.                         },
  55.                         {
  56.                           "type": "space",
  57.                           "style": {
  58.                             "width": "20"
  59.                           }
  60.                         },
  61.                         {
  62.                           "type": "label",
  63.                           "style": {
  64.                             "font": "HelveticaNeue-Italic",
  65.                             "size": "14",
  66.                             "color": "#cecece"
  67.                           },
  68.                           "text": "Footer"
  69.                         }
  70.                       ]
  71.                     },
  72.                     {
  73.                       "type": "label",
  74.                       "text": "Titulo",
  75.                       "style": {
  76.                         "font": "Georgia",
  77.                         "size": "22"
  78.                       }
  79.                     }
  80.                   ]
  81.                 }
  82.               }
  83.             }
  84.           ]
  85.         }
  86.       }
  87.     }
  88.   }
  89. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement