Click here to view an example where the setup and finish callback can be used. Click again to toggle the effect .
The setup function is executed right before the animation starts so you can set the targetElement.style properties to fit your needs
The finish function is excuted after the animation.
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lor