Skip to content
This repository has been archived by the owner on Oct 30, 2022. It is now read-only.

How can i pro-grammatically close the fake loader. i want to close it on an event. #30

Open
eshiett1995 opened this issue Jul 2, 2018 · 3 comments

Comments

@eshiett1995
Copy link

I want to start and stop the fake loader pro-grammatically on an event success. How can i achieve this ?

@ktunprasert
Copy link

ktunprasert commented Sep 22, 2018

A quick google search has led me to https://github.com/joaopereirawd/fakeLoader.js/pull/17/files?short_path=04c6e90
I've managed to make the fakeLoader continues until ajax success. The option {release:true} is what you're looking for. Oops I forgot to say you should also use {blockMode: true} just like the link instead of the arbitrary timeout.

@ktunprasert
Copy link

I just realised that the blockMode does not work however you can just make fakeloader disppear upon ajax success using jQuery.

@eshiett1995
Copy link
Author

@ktunprasert okay, i will try that

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

No branches or pull requests

2 participants