Fetch the repository succeeded.
本示例是OpenHarmony自定义组件RoundImage。
用于定义一张图片为圆形或者圆角矩形。
<element name="roundimage" src="../roundimage/roundimage.hml"></element>
<div class="container">
<roundimage path="/common/gitee.jpg" length="400" shape="1"></roundimage>
</div>
参数 | 含义 |
---|---|
path | 设置图片路径 |
length | 设置图片宽度和高度,等宽高 |
shape | 设置图片形状,0 - 圆形,1 - 圆角矩形 |
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
Activity
Community
Health
Trend
Influence
:Code submit frequency
:React/respond to issue & PR etc.
:Well-balanced team members and collaboration
:Recent popularity of project
:Star counts, download counts etc.