1 Star 1 Fork 1

droidzxy / oh_progresswithtext

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or Download
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%

效果演示

  • 动态效果

效果演示

Repository Comments ( 1 )

Sign in for post a comment

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

141041 ab9339c7 1850385 141043 25c028d5 1850385