1 Star 2 Fork 2

droidzxy / oh_progresswithtext

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README_zh.md

OhProgressWithText

组件介绍

  • 本示例是OpenHarmony自定义组件ProgressWithText。

    在原来进度条的上方加了一个文本框,动态显示当前进度并调整位置。

调用方法

<element name="progresswithtext" src="../progresswithtext/progresswithtext.hml"></element>
<div class="container">
   <text>{{title}}</text>
   <progresswithtext percent="88" style="width: 600px; height: 150px;" ></progresswithtext>
</div>

参数介绍

参数 含义
percent 当前百分比的值

效果演示

  • 12%

效果演示

  • 58%

效果演示

  • 83%

效果演示

  • 动态效果

效果演示

About

OpenHarmony自定义组件ProgressWithText,动态调整标签位置的进度条。 expand collapse
JavaScript and 2 more languages
MulanPSL-2.0
Cancel

Releases

No release

oh_progresswithtext

Contributors

All

Activities

Load More
can not load any more
JavaScript
1
https://toscode.gitee.com/droidzxy/oh_progresswithtext.git
git@toscode.gitee.com:droidzxy/oh_progresswithtext.git
droidzxy
oh_progresswithtext
oh_progresswithtext
master

Search

10d9f8b4 4838521 8bde8327 4838521