> 文档中心 > 【鸿蒙】【ARK UI】HarmonyOS search组件怎么使用

【鸿蒙】【ARK UI】HarmonyOS search组件怎么使用


 参考资料

search

api 讲解

cke_532.png

代码运行

hml代码

搜索的值: {{this.searchValue}} 翻译的值: {{this.translateValue}}

css代码

/* xxx.css */.container {    display: flex;    justify-content: center;    align-items: center;    flex-direction: column;}

运行效果

8d73a8b002327daf5d48bfdfe2b1b301_739x985.gif%40900-0-90-f.gif

 

 欲了解更多更全技术文章,欢迎访问https://developer.huawei.com/consumer/cn/forum/?ha_source=zzh