|
for(var i =250;i >=0;i--){
api.setFrameGroupAttr({
name: 'groupName',
rect: {
x: 0,
y: api.winHeight*i/1000,
w: 'auto',
h: api.winHeight*(1000-i)/1000
},
});
api.setFrameAttr({
name: 'frame1',
rect: {
x: 0,
y: 0,
w: 'auto',
h: api.winHeight*i/1000
}
});
}
你如果非要实现的话就这么干吧 |
|