-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
on-collapse-open event #14
Comments
You could listen for the 'transitionend' event and check the 'opened' attribute to know if opened or closed |
@eximius313 @yesobo |
It is not the same thing. |
@eximius313 not sure if you found a solution to your problem or not, but the comment from @yesobo works perfectly. The Here is some sample code. this.listen(collapseEl, 'transitionend', 'adjustLayout'); function: adjustLayout(event) {
if (event.target.opened) {
// do some stuff
} else {
// do some other stuff
}
} Just for historical purposes: this was tried and worked in v1.0.4 |
@morficus - it worked as expected. Thank you |
🎉 |
Could you please restore
on-collapse-open
event from 0.5 version of this component?Thank you in advance
The text was updated successfully, but these errors were encountered: