有谁知道在 Ext.Img
组件内的 ExtJs 中旋转图像的方法吗?我现在的代码是:
xtype:'image',
id: 'south_image',
src: '/Home/DefaultImage',
region: 'south',
width: 700,
height: 200
最佳答案
使用下面的代码
xtype:'image',
id: 'south_image',
src: '/Home/DefaultImage',
region: 'south',
width: 700,
height: 200,
style: {
transform: rotate(45deg),
-ms-transform: rotate(45deg),
-moz-transform: rotate(45deg),
-webkit-transform: rotate(45deg),
-o-transform: rotate(45deg)
}
关于javascript - ExtJS 中的图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14072369/