• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "@weex-component/hi": {
3    "data": "function data() {\n\t        return {\n\t            hi: ''\n\t        };\n\t    }",
4    "template": {
5      "type": "div",
6      "children": [
7        {
8          "type": "text",
9          "classList": [
10            "hi"
11          ],
12          "attr": {
13            "value": "function () {return this.hi}"
14          }
15        }
16      ]
17    },
18    "style": {
19      "hi": {
20        "fontSize": 26,
21        "color": "#008000"
22      }
23    }
24  },
25  "@weex-component/name": {
26    "data": "function data() {\n\t        console.log('Name Component Comment');\n\t        return {\n\t            name: ''\n\t        };\n\t    }",
27    "template": {
28      "type": "div",
29      "children": [
30        {
31          "type": "text",
32          "classList": [
33            "name"
34          ],
35          "attr": {
36            "value": "function () {return this.name}"
37          }
38        }
39      ]
40    },
41    "style": {
42      "name": {
43        "fontSize": 26,
44        "color": "#FF0000"
45      }
46    }
47  },
48  "@weex-component/ce75098d1d76e52a00b0d2b2613d990c": {
49    "data": "function data() {\n\t    return {\n\t        hi: 'Hello',\n\t        name: 'Weex'\n\t    };\n\t}",
50    "template": {
51      "type": "div",
52      "classList": [
53        "wrap"
54      ],
55      "children": [
56        {
57          "type": "hi",
58          "attr": {
59            "hi": "function () {return this.hi}"
60          }
61        },
62        {
63          "type": "name",
64          "attr": {
65            "name": "function () {return this.name}"
66          }
67        }
68      ]
69    },
70    "style": {
71      "wrap": {
72        "flexDirection": "row"
73      }
74    }
75  }
76}