未验证 提交 43baa663 编写于 作者: O openharmony_ci 提交者: Gitee

!20670 FIX:补充select组件 api 接口使用示例

Merge pull request !20670 from sunjiakun/select_doc
......@@ -88,6 +88,7 @@ struct SelectExample {
.optionFont({ size: 16, weight: 400 })
.space(this.space)
.arrowPosition(this.arrowPosition)
.menuAlign(MenuAlignType.START, {dx:0, dy:0})
.onSelect((index:number, text: string)=>{
console.info('Select:' + index)
this.index = index;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册