EasyUI Forum
September 14, 2025, 02:06:05 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Animation on Minimizing Dialog or Window  (Read 6110 times)
Alfred
Full Member
***
Posts: 134


-Licensed User-


View Profile
« 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.
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 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');
}
}]
})
Logged
Alfred
Full Member
***
Posts: 134


-Licensed User-


View Profile
« Reply #2 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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!