• Home
Name Date Size #Lines LOC

..--

entry/12-May-2024-312250

screenshots/device/12-May-2024-

.gitignoreD12-May-2024121 88

README.mdD12-May-2024412 147

README_zh.mdD12-May-2024689 2814

build-profile.json5D12-May-20241.1 KiB4341

hvigorfile.jsD12-May-2024175 21

package.jsonD12-May-2024382 1818

README.md

1# Slider
2
3### Introduction
4
5The **<slider\>** component is often used to set the sound, brightness, and font. This sample shows how to use the **<slider\>** component to adjust the font size.
6
7### Usage
8
9 This sample app provides a slider with six levels, corresponding to six font sizes. You can drag the slider to adjust the font size.
10
11### Constraints
12
13This sample can only be run on standard-system devices.
14

README_zh.md

1# 滑动条
2
3### 简介
4
5<slider\>组件常用来作为声音、亮度、字体等的设置。本示例展示了使用<slider\>组件来调整界面字体大小。
6
7实现效果如下:
8
9![](screenshots/device/screen.png)
10
11### 相关概念
12
13Slider:滑动条组件,用来快速调节设置值,如音量、亮度等。
14
15### 相关权限
16
17不涉及。
18
19### 使用方法
20
21此应用中滑动条共分六级,分别对应字体的六个大小。通过滑动滑动条,可以调整界面字体大小。
22
23### 约束与限制
24
251.本示例仅支持标准系统运行。
26
272.本示例需要使用DevEco Studio 3.0 Beta4 (Build Version: 3.0.0.992, built on July 14, 2022)才可编译运行。
28