EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Alfred on March 30, 2018, 01:20:10 AM



Title: Animation on Minimizing Dialog or Window
Post by: Alfred on March 30, 2018, 01:20:10 AM
Is it possible to have animation such as fade, zoomin etc. while minimizing easyui dialog or Window. Please show an example.


Title: Re: Animation on Minimizing Dialog or Window
Post by: stworthy on March 30, 2018, 03:46:46 AM
The code below shows how to custom the minimizable button.
Code:
$('#w').window({
minimizable: false,
shadow: false,
closeAnimation: 'fade',
tools: [{
iconCls: 'panel-tool-min',
handler: function(){
$('#w').window('close');
}
}]
})


Title: Re: Animation on Minimizing Dialog or Window
Post by: Alfred on March 31, 2018, 06:43:20 AM
It's not about animation while closing window or dialog. It's about how to animate while minimizing window or dialog.