README.md
1# JavaScript Bubble<a name="EN-US_TOPIC_0000001175858131"></a>
2
3### Introduction<a name="section104mcpsimp"></a>
4
5This sample shows JavaScript bubbles. After you click a bound component, a bubble with a message is displayed to provide you with guidance. You can define component attributes such as its position, style, and events to respond.
6
7### Usage<a name="section107mcpsimp"></a>
8
9On the home screen of the sample app, touch the prompt button or the text box. A JavaScript bubble is displayed. The bubble disappears after you touch it.
10
11### Constraints<a name="section110mcpsimp"></a>
12
13This sample can only be run on standard-system devices.
14
15
README_zh.md
1# 气泡
2
3### 简介
4
5本示例展示了JS气泡提示,在点击绑定的控件后会弹出相应的气泡来引导用户进行操作。开发者可自行定义该控件的位置、样式、响应事件等属性信息。
6
7实现效果如下:
8
9
10
11### 相关概念
12
13Popup:气泡控制组件。
14
15### 相关权限
16
17不涉及。
18
19### 使用说明
20
21进入应用主界面后,点击**提示**按钮或者文本框,JS气泡提示会出现,点击**JS气泡提示**后,气泡提示会消失。
22
23### 约束与限制
24
251.本示例仅支持在标准系统上运行。
26
272.本示例需要使用DevEco Studio 3.0 Beta4 (Build Version: 3.0.0.992, built on July 14, 2022)才可编译运行。