/* * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ { "@app-component/commonAttr": { "_descriptor": {}, "data": {}, "template": { "type": "div", "attr": { "debugLine": "pages/commonAttr/commonAttr:1", "className": "container" }, "classList": [ "container" ], "children": [ { "type": "div", "attr": { "debugLine": "pages/commonAttr/commonAttr:3", "id": "abc", "value": "id_test1" }, "id": "abc" }, { "type": "div", "attr": { "debugLine": "pages/commonAttr/commonAttr:6", "id": "function () {return this.aa}", "value": "id_test2" }, "id": "function () {return this.aa}" }, { "type": "div", "attr": { "debugLine": "pages/commonAttr/commonAttr:9", "ref": "ref", "value": "ref_test" } }, { "type": "div", "attr": { "debugLine": "pages/commonAttr/commonAttr:12", "disabled": "true", "value": "disabled_test1" } }, { "type": "div", "attr": { "debugLine": "pages/commonAttr/commonAttr:15", "disabled": "function () {return this.disabled}", "value": "disabled_test2" } }, { "type": "div", "attr": { "debugLine": "pages/commonAttr/commonAttr:18", "tid": "def", "value": "tid_test1" } }, { "type": "div", "attr": { "debugLine": "pages/commonAttr/commonAttr:21", "tid": "function () {return this.bb}", "value": "tid_test2" } }, { "type": "div", "attr": { "debugLine": "pages/commonAttr/commonAttr:24", "show": "true", "value": "show_test1" } }, { "type": "div", "attr": { "debugLine": "pages/commonAttr/commonAttr:27", "show": "function () {return this.showTest}", "value": "show_test2" } }, { "type": "div", "attr": { "debugLine": "pages/commonAttr/commonAttr:30", "data": "abd", "value": "data_test1" } }, { "type": "div", "attr": { "debugLine": "pages/commonAttr/commonAttr:33", "data": "function () {return this.data}", "value": "data_test2" } }, { "type": "div", "attr": { "debugLine": "pages/commonAttr/commonAttr:36", "focusable": "true", "value": "focusable_test1" } }, { "type": "div", "attr": { "debugLine": "pages/commonAttr/commonAttr:39", "focusable": "function () {return this.focusable}", "value": "focusable_test2" } } ] } } }