public void reverseAnimate() {
        onStartAnimateCallback();
        $("document").ready(() -> {
            if (reverseCallback != null) {
                reverseCallback.call();
            } else {
                targetElement.getStyle().setVisibility(Style.Visibility.HIDDEN);
                targetElement.getStyle().setOpacity(0);
            }
            detectOutOfScopeElement(sourceElement, () -> JsPathAnimator.cta(targetElement, sourceElement, options, () -> onCompleteCallback()));
        });
    }
public void reverseAnimate ( ) { onStartAnimateCallback ( ) ; $ ( "document" ) . ready ( ( ) -> { if ( reverseCallback != null ) { reverseCallback . call ( ) ; } else { targetElement . getStyle ( ) . setVisibility ( Style . Visibility . HIDDEN ) ; targetElement . getStyle ( ) . setOpacity ( 0 ) ; } detectOutOfScopeElement ( sourceElement , ( ) -> JsPathAnimator . cta ( targetElement , sourceElement , options , ( ) -> onCompleteCallback ( ) ) ) ; } ) ; }
Reverse the Animation