Comments (4)
Hi @sylouuu
I have a different approach. You can enable or disable the loader creating the ng-http-loader directive with a simple ng-if
make sense?
from angular-http-loader.
Hey,
I tried. It doesn't work as expected.
Regards
from angular-http-loader.
Why? The loader will not been shown. Is exactly what you want
from angular-http-loader.
You have right. I didn't think about that:
<script type="text/ng-template" id="spinner.tpl.html">
<div>
<div class="spinner-overlay">
<div class="spinner-container">
<div class="loader6"></div>
</div>
</div>
</div>
</script>
<!-- Show loader -->
<div ng-http-loader ttl="0" template="spinner.tpl.html" ng-show="page.loader"></div>
Thanks
from angular-http-loader.
Related Issues (16)
- How to use it in a modal? HOT 1
- Add whitelisting to local requests regardless of domain name HOT 6
- Unable to integrate module (yeoman scaffolding) HOT 2
- Programmatically show/hide element HOT 1
- Add the ability to disable http loader for certain urls on a white listed domain HOT 4
- showLoader Not getting True HOT 1
- Way to trigger the loader without XHR call? HOT 1
- npm install doesn't work
- Add the ability to hide the spinner on faults (404/500) HOT 2
- Operate only on specific server requests
- Please create NPM package HOT 4
- How to stop showing loader when working with auto complete text box?
- Add monitoring for 'XMLHttpRequest' requests HOT 4
- How to add loader for a specific http request? HOT 1
- Version number change missed in the commit a79a096235e87cc22b8353555148b53cd4c2cf44 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-http-loader.