Comments (5)
Hi, @falkdav! Thanks. Yeah sure, I'll try to test it in a couple of days.
from bootstrap-waitingfor.
My temporary circumvention:
define(['../lib/bootstrap-waitingfor/src/waitingfor'], function (waitingDialog) {
var oldShow = waitingDialog.show;
waitingDialog.show = function (message, options){
if (!options) {
options = {};
}
if (options.progressType) {
options.progressType += ' progress-bar-striped progress-bar-animated';
}
else {
options.progressType = 'striped progress-bar-animated';
}
oldShow(message, options);
};
return waitingDialog;
});
from bootstrap-waitingfor.
Hi @Lion-HC where should I put that code?
from bootstrap-waitingfor.
It's something like wrapper for waitingfor to support bootstrap4.
It's if you using AMD (require.js)
If not - you can override waitingDialog.show somewhere globally before using it.
from bootstrap-waitingfor.
Fixed with #26
from bootstrap-waitingfor.
Related Issues (17)
- Add callback HOT 4
- Block only part of page. HOT 3
- Typo when using importing with bower HOT 1
- Not loading properly in Safari 10.0.2 HOT 2
- Safari HOT 3
- Support yii2? HOT 1
- bower main to "src" directory instead of "build" file HOT 1
- show.bs.modal doesn't trigger HOT 1
- Subsequent calls to show makes it unhideable. HOT 2
- Succeeding modal() after waitingDialog.hide() "expands" the page's width HOT 1
- bootstrap 4 scroll not work after waiting for HOT 2
- Generated element contains inline styles, breaking CSPs
- fix settings.progressType class in bootstrap 4.1.1 HOT 3
- Feature Request: Help method for showing the default options. HOT 2
- Bootstrap 4 hide not working if invoke immediately after show HOT 1
- Versioning HOT 4
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 bootstrap-waitingfor.