- 入门指南
- 演示应用程序
- 如何
- 通知
- 使用 VB 表达式
- 设计应用程序
- 使用 Autopilot 设计应用程序
- 事件和规则
- 在应用程序中利用 RPA
- 在应用程序中利用实体
- 在应用程序中利用队列
- 在应用程序中利用媒体文件
- 在应用程序中利用操作
- 在应用程序中利用 Connections
- Studio Web 中的网页应用程序
- 应用程序生命周期管理 (ALM)
- UiPath™ 第一方应用程序
- 基本故障排除指南
Apps 用户指南
响应迅速且适合移动设备的嵌入式应用程序
You can add logic to your external webpage, making your embedded app responsive to screen size changes. This can be useful if you use small-screen devices, such as mobile phones, because it mitigates the need for you to scroll multiple times to see the embedded app content.
If you do not add this logic to your webpage, the embed maintains a static height and displays a scroll bar.
The script performs the following operations:
-
When a control is added to or removed from the app, the script triggers the
APP_CONTENT_HEIGHT_UPDATED
event, and updates the height of theembed
variable.-
The
APP_CONTENT_HEIGHT_UPDATED
event triggersAPP_CONTENT_RESIZED
, which reduces the height of theembed
variable by 10 pixels.-
The
APP_CONTENT_RESIZED
event triggers anotherAPP_CONTENT_RESIZED
event, which again reduces the height of theembed
variable by 10 pixels.
-
-
The script repeats these operations, until:
-
The
embed
variable is at the minimum height where a scroll bar is not required to view the app. -
The
embed
variable is reduced to the initial value, which is specified byMIN_HEIGHT
.
Responsive and mobile-friendly embedded app
简介
This webpage embeds a mobile app inside a device frame. The app displays content responsively for mobile usage. An iFrame loads content dynamically, and displays it inside the device frame. The app content adjusts its height based on its content, in order to prevent scrollbars.