Skip to content
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

is it possible to use animsition without page refresh? #144

Open
nevonevo opened this issue Mar 6, 2018 · 2 comments
Open

is it possible to use animsition without page refresh? #144

nevonevo opened this issue Mar 6, 2018 · 2 comments

Comments

@nevonevo
Copy link

nevonevo commented Mar 6, 2018

Hi thanks for this. I just want to know can we use this without page refreshing? When i clicked the link change content but page doesn't refresh. Or can we use this with jquery tabs or something like that?

@neckarpixel
Copy link

You mean AJAX request IMHO. Animistion emulates this behaviour if AJAX request aren't possible. Maybe smoothstate.js will be the right plugin for your setup.

@anormore
Copy link

anormore commented Mar 6, 2018

$('.foo').animsition('in');

$('.foo').animsition('out', $elem, url);

Call these and it will show the state. Then AJAX your content. When ajax is back, transition back in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants