The Web element embeds a web page directly within the app interface. It allows customization of size, corner radius, margins, and elevation for visual styling. Specific HTML elements can be hidden using HideByID or HideByName, and routing can be managed with the Routes array for interactive navigation.
| Field Name | Type | Default Value | Description |
|---|---|---|---|
| Name | String | {name} | Unique identifier for the web element. |
| Elevation | Number | 0 | Shadow or depth effect for the element. |
| URL | URL | {url} | The web page URL to load inside the element. |
| Size | Number | 0 | Width or overall size of the web element. |
| Radius | Number | 12 | Corner radius of the web view. |
| Margin | Number | 20 | Outer spacing around the element. |
| MarginLine | Number | 10 | Vertical spacing relative to other elements. |
| HideByID | Array |
[] | List of HTML element IDs to hide from the web page. |
| HideByName | Array |
[] | List of HTML element names to hide from the web page. |
| Routes | Array |
[] | Optional navigation routes associated with the web element. |
Coding:
{
"@Type": "Web",
"Name": "{name}",
"Elevation": 0,
"URL": "{url}",
"Size": 0,
"Radius": 12,
"Margin": 20,
"MarginLine": 10,
"HideByID": [],
"HideByName": [],
"Routes": []
}
To see how to create this element in Applin Studio (no-code mode), visit:
Design the Web in Applin Studio