• 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/event": {
18    "_descriptor": {},
19    "data": {},
20    "template": {
21      "attr": {
22        "debugLine": "pages/event/event:1"
23      },
24      "children": [
25        {
26          "attr": {
27            "debugLine": "pages/event/event:3"
28          },
29          "events": {
30            "click": "test"
31          },
32          "type": "div"
33        },
34        {
35          "attr": {
36            "debugLine": "pages/event/event:6"
37          },
38          "events": {
39            "click": "function (evt) {this.test(this.value,evt)}"
40          },
41          "type": "div"
42        },
43        {
44          "attr": {
45            "debugLine": "pages/event/event:9"
46          },
47          "events": {
48            "click": "function (evt) {this.test(this.value,this.time,evt)}"
49          },
50          "type": "div"
51        },
52        {
53          "attr": {
54            "debugLine": "pages/event/event:12"
55          },
56          "events": {
57            "click": "test"
58          },
59          "type": "div"
60        },
61        {
62          "attr": {
63            "debugLine": "pages/event/event:15"
64          },
65          "events": {
66            "click": "function (evt) {this.test(this.value,evt)}"
67          },
68          "type": "div"
69        },
70        {
71          "attr": {
72            "debugLine": "pages/event/event:18"
73          },
74          "events": {
75            "click": "function (evt) {this.test(this.value,this.time,evt)}"
76          },
77          "type": "div"
78        },
79        {
80          "type": "input",
81          "attr": {
82            "debugLine": "pages/event/event:21"
83          },
84          "events": {
85            "click": "function (evt) {this.handleInput('(',evt)}"
86          }
87        },
88        {
89          "type": "input",
90          "attr": {
91            "debugLine": "pages/event/event:24"
92          },
93          "events": {
94            "click": "function (evt) {this.handleInput(')',evt)}"
95          }
96        },
97        {
98          "type": "input",
99          "attr": {
100            "debugLine": "pages/event/event:27"
101          },
102          "events": {
103            "click": "function (evt) {this.handleInput('(',this.value,this.time,evt)}"
104          }
105        },
106        {
107          "attr": {
108            "debugLine": "pages/event/event:30"
109          },
110          "type": "div",
111          "onBubbleEvents": {
112            "touchstart": "test1"
113          }
114        },
115        {
116          "attr": {
117            "debugLine": "pages/event/event:31"
118          },
119          "type": "div",
120          "onBubbleEvents": {
121            "touchstart": "test2"
122          }
123        },
124        {
125          "attr": {
126            "debugLine": "pages/event/event:32"
127          },
128          "type": "div",
129          "onBubbleEvents": {
130            "touchstart": "test3"
131          }
132        },
133        {
134          "attr": {
135            "debugLine": "pages/event/event:33"
136          },
137          "type": "div",
138          "catchBubbleEvents": {
139            "touchstart": "test4"
140          }
141        },
142        {
143          "attr": {
144            "debugLine": "pages/event/event:34"
145          },
146          "type": "div",
147          "onBubbleEvents": {
148            "touchstart": "test5"
149          }
150        },
151        {
152          "attr": {
153            "debugLine": "pages/event/event:35"
154          },
155          "type": "div",
156          "onBubbleEvents": {
157            "touchstart": "test6"
158          }
159        },
160        {
161          "attr": {
162            "debugLine": "pages/event/event:36"
163          },
164          "type": "div",
165          "catchBubbleEvents": {
166            "touchstart": "test7"
167          }
168        },
169        {
170          "attr": {
171            "debugLine": "pages/event/event:37"
172          },
173          "type": "div",
174          "onCaptureEvents": {
175            "touchstart": "test8"
176          }
177        },
178        {
179          "attr": {
180            "debugLine": "pages/event/event:38"
181          },
182          "type": "div",
183          "catchCaptureEvents": {
184            "touchstart": "test9"
185          }
186        }
187      ],
188      "type": "div"
189    }
190  }
191}