EasyUI Forum
April 29, 2024, 03:09:04 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: LayoutPanel Collapse and Expand Events  (Read 1255 times)
don
Newbie
*
Posts: 28


View Profile
« on: June 30, 2023, 04:06:46 AM »

I'm currently using @expand and @collapse events, but unfortunately they also trigger for non-collapse/expand events (like mouse over events). Also the expand/collapse events don't pass any info (e.g. event obj) to the callback function. I need a way to detect collapse and expand events exclusively, any suggestions?
Logged
don
Newbie
*
Posts: 28


View Profile
« Reply #1 on: June 30, 2023, 06:35:55 AM »

UPDATE (resolved):
I was able to resolve by adding a "transitionend" event listener to the LayoutPanel.  Smiley
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!