Animation.scaleX
解释:缩放 X 轴。
方法参数
Number sx
参数说明
在 X 轴缩放 sx 倍数。
示例
跳转编辑工具
扫码体验
代码示例
请使用百度APP扫码
图片示例
代码示例
- SWAN
- JS
<view class="wrap">
<view class="animation-element-wrapper">
<view class="animation-element" animation="{{animation}}"></view>
</view>
<view class="card-area">
<view class="top-description border-bottom">展示动画</view>
<button type="primary" bindtap="scaleX">scaleX</button>
</view>
</view>