• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "name": "web",
3  "version": [
4    {
5      "name": "v6.0"
6    }
7  ],
8  "syscap": [
9    "SystemCapability.ArkUI.ArkUI.Full"
10  ],
11  "description": [
12    {
13      "name": "Component that displays web page content."
14    }
15  ],
16  "attributes": [
17    {
18      "name": "src",
19      "required": false,
20      "description": [
21        {
22          "name": "Set the URL of the web page to be displayed. The domain name of the web page must be HTTPS and archived by the ICP."
23        }
24      ],
25      "type": "string"
26    },
27    {
28      "name": "id",
29      "required": false,
30      "description": [
31        {
32          "name": "Unique ID of a component."
33        }
34      ],
35      "type": "string"
36    }
37  ],
38  "events": [
39    {
40      "name": "pagestart",
41      "description": [
42        {
43          "name": "Triggered when a web page is loaded"
44        }
45      ]
46    },
47    {
48      "name": "pagefinish",
49      "description": [
50        {
51          "name": "Triggered when web page loading ends"
52        }
53      ]
54    },
55    {
56      "name": "error",
57      "description": [
58        {
59          "name": "Triggered when an error occurs in loading a web page or when an error occurs in opening a web page"
60        }
61      ]
62    },
63    {
64      "name": "message",
65      "version": [
66        {
67          "name": "v7.0"
68        }
69      ],
70      "description": [
71        {
72          "name": "Triggered when a message sent from a web page is received."
73        }
74      ]
75    }
76  ],
77  "supportedSubComponents": false,
78  "supportedSubComponentsRestriction": [],
79  "unSupportSubComponentsRestriction": [],
80  "parentComponentsRestriction": []
81}