Comments (3)
Is this project stopped? I confirm. UpdateLoadingHtml doesn't works
from please-wait.
I've forked the project and disabled transition support, which is the reason the pg-removing
class wasn't being removed (for some reason the transition event isn't being fired). Updating the loading HTML is now working for me, with the caveat that there aren't any nice transitions.
https://github.com/ianhattendorf/please-wait
from please-wait.
I workaround this issue by performing direct DOM manipulation of HTML I want to change from initial one.
setLoadingMessage(message: string) {
let element = document.querySelector('.pg-loading-html .loading-message');
if (element) {
element.innerHTML = message;
}
}
setLoadingError(error: boolean) {
let loadingElement = document.body;
if (loadingElement) {
if (error) {
loadingElement.classList.add('pg-loading-error');
} else {
loadingElement.classList.remove('pg-loading-error');
}
}
}
from please-wait.
Related Issues (20)
- Loading Page Loaded After Some Elements HOT 2
- Disable logo HOT 3
- I'm having trouble installing it HOT 1
- Callback HOT 2
- Adjust speed of animation HOT 2
- Is there anyway ton include this loading screen in a <div> for example ? HOT 2
- How to transparent background HOT 2
- Percentage HOT 1
- Not working well on safari ? HOT 1
- Good script but no maintenance release? HOT 1
- ES6 import/require HOT 8
- Update documentation HOT 2
- This plugin is not good HOT 2
- Web page jumping after preloader finished HOT 1
- window.pleaseWait is not a function HOT 1
- Can you please share source code of demo
- Please do an Angular 6+ version HOT 1
- Makes your application appear slow HOT 1
- Issue from updateLoadingHtml()
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 please-wait.