未验证 提交 37f0a8ae 编写于 作者: O openharmony_ci 提交者: Gitee

!3828 修改sliding panel用例代码

Merge pull request !3828 from xiexiyun/master
......@@ -86,8 +86,8 @@ struct PanelExample {
.type(PanelType.Foldable).mode(PanelMode.Half)
.dragBar(true) // 默认开启
.halfHeight(500) // 默认一半
.onChange((value: any) => {
console.info(`width:${value.width},height:${value.height},mode:${value.mode}`)
.onChange((width: number, height: number, mode: PanelMode) => {
console.info(`width:${width},height:${height},mode:${mode}`)
})
}.width('100%').height('100%').backgroundColor(0xDCDCDC).padding({ top: 5 })
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册