Skip to content

multiple panel sliding in V4 like in v3. #189

Answered by Flyer53
4goodapp asked this question in Q&A
Discussion options

You must be logged in to vote

Sure, it's just a matter of combining options animateIn, animateOut and onclosed as in the following simple example where I use the close control to slide in the next panel (animations come from animate.css):

jsPanel.create({
  theme: 'success',
  animateIn: 'animate__animated animate__bounceInLeft',
  animateOut: 'animate__animated animate__bounceOutRight',
  onclosed: () => {
    jsPanel.create({
      theme: 'primary',
      animateIn: 'animate__animated animate__bounceInLeft',
      animateOut: 'animate__animated animate__bounceOutRight',
      onclosed: () => {
        jsPanel.create({
          theme: 'warning',
          animateIn: 'animate__animated animate__bounceInLeft',
          

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by 4goodapp
Comment options

You must be logged in to vote
2 replies
@Flyer53
Comment options

@4goodapp
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@4goodapp
Comment options

@Flyer53
Comment options

@4goodapp
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants