ArkUI转场动画可以改颜色吗?
使用TransitionEffect做转场动画,只能改变opacity透明度,而且影响子组件透明度。是否有API可以改背景颜色?
或者使用属性动画animateTo的时候,怎么在组件出现和消失的时候触发?尝试过aboutToAppear里触发,未达到预期。
HarmonyOS
赞
收藏 0
回答 1
待解决
参考代码