• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2021 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16{
17  "@app-component/commonAttr": {
18    "_descriptor": {},
19    "data": {},
20    "template": {
21      "type": "div",
22        "attr": {
23          "debugLine": "pages/commonAttr/commonAttr:1",
24          "className": "container"
25        },
26      "classList": [
27        "container"
28      ],
29        "children": [
30          {
31            "type": "div",
32            "attr": {
33              "debugLine": "pages/commonAttr/commonAttr:3",
34              "id": "abc",
35              "value": "id_test1"
36            },
37            "id": "abc"
38          },
39          {
40            "type": "div",
41            "attr": {
42              "debugLine": "pages/commonAttr/commonAttr:6",
43              "id": "function () {return this.aa}",
44              "value": "id_test2"
45            },
46            "id": "function () {return this.aa}"
47          },
48          {
49            "type": "div",
50            "attr": {
51              "debugLine": "pages/commonAttr/commonAttr:9",
52              "ref": "ref",
53              "value": "ref_test"
54            }
55          },
56          {
57            "type": "div",
58            "attr": {
59              "debugLine": "pages/commonAttr/commonAttr:12",
60              "disabled": "true",
61              "value": "disabled_test1"
62            }
63          },
64          {
65            "type": "div",
66            "attr": {
67              "debugLine": "pages/commonAttr/commonAttr:15",
68              "disabled": "function () {return this.disabled}",
69              "value": "disabled_test2"
70            }
71          },
72          {
73            "type": "div",
74            "attr": {
75              "debugLine": "pages/commonAttr/commonAttr:18",
76              "tid": "def",
77              "value": "tid_test1"
78            }
79          },
80          {
81            "type": "div",
82            "attr": {
83              "debugLine": "pages/commonAttr/commonAttr:21",
84              "tid": "function () {return this.bb}",
85              "value": "tid_test2"
86            }
87          },
88          {
89            "type": "div",
90            "attr": {
91              "debugLine": "pages/commonAttr/commonAttr:24",
92              "show": "true",
93              "value": "show_test1"
94            }
95          },
96          {
97            "type": "div",
98            "attr": {
99              "debugLine": "pages/commonAttr/commonAttr:27",
100              "show": "function () {return this.showTest}",
101              "value": "show_test2"
102            }
103          },
104          {
105            "type": "div",
106            "attr": {
107              "debugLine": "pages/commonAttr/commonAttr:30",
108              "data": "abd",
109              "value": "data_test1"
110            }
111          },
112          {
113            "type": "div",
114            "attr": {
115              "debugLine": "pages/commonAttr/commonAttr:33",
116              "data": "function () {return this.data}",
117              "value": "data_test2"
118            }
119          },
120          {
121            "type": "div",
122            "attr": {
123              "debugLine": "pages/commonAttr/commonAttr:36",
124              "focusable": "true",
125              "value": "focusable_test1"
126            }
127          },
128          {
129            "type": "div",
130            "attr": {
131              "debugLine": "pages/commonAttr/commonAttr:39",
132              "focusable": "function () {return this.focusable}",
133              "value": "focusable_test2"
134            }
135          }
136        ]
137    }
138  }
139}