• Home
Name Date Size #Lines LOC

..--

entry/12-May-2024-1,1391,001

screenshots/device/12-May-2024-

.gitignoreD12-May-2024121 88

README.mdD12-May-2024533 127

README_zh.mdD12-May-2024797 2915

build-profile.json5D12-May-20241 KiB4341

hvigorfile.jsD12-May-2024174 21

package.jsonD12-May-2024380 1818

README.md

1# JavaScript Basic Components
2
3### Introduction
4
5This sample shows the typical effect and usage of basic JavaScript components <button\>,<image\>,<input\>,<test\>,<select\>,<switch\>,<progress\>,<rating\>,<marquee\>,<piece\>,<qrcode\> and <toggle\>.
6
7### Usage
8
9On the home screen of the sample app, you can scroll through the component list and touch each component to view their effect and interaction. You can use and reuse any component anywhere as needed.
10
11### Constraints
12This sample can only be run on standard-system devices.

README_zh.md

1# 基础组件
2
3### 简介
4
5本示例展示了JS基础组件<button\>,<image\>,<input\>,<test\>,<select\>,<switch\>,<progress\>,<rating\>,<marquee\>,<piece\>,<qrcode\> 和 <toggle\>的常见效果和用法。
6
7实现效果如下:
8
9![](screenshots/device/Screenshot.png)
10
11### 相关概念
12
13基于JS扩展的类Web开发范式:JavaScript相关组件。
14
15### 相关权限
16
17不涉及。
18
19### 使用说明
20
211.通过滑动列表,点击组件,查看各组件的视图效果和点击效果,以及与组件交互的实现方法。
22
232.组件之间相互独立,可以在需求相同的地方重复使用。
24
25### 约束与限制
26
271.本示例仅支持在标准系统上运行。
28
292.本示例需要使用DevEco Studio 3.0 Beta4 (Build Version: 3.0.0.992, built on July 14, 2022)才可编译运行。