Skip to content
Code-Schnipsel Gruppen Projekte
Commit b7f6ab06 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

feat: qui/controls/loader/Loader -> opacity can be passed as attribute and...

feat: qui/controls/loader/Loader -> opacity can be passed as attribute and style can be manipulated before opening
Übergeordneter ab49d5ea
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -41,6 +41,7 @@ define('qui/controls/loader/Loader', [
styles : false, // extra CSS styles,
type : false,
color : false,
opacity : 0.8,
loaderErrorText: 'Das Fenster reagiert nicht mehr. Um fortzufahren, klicken Sie bitte hier.'
},
......@@ -200,8 +201,12 @@ define('qui/controls/loader/Loader', [
// must be showed, because, hide can be triggered -> no async showed
this.$Elm.setStyle('display', '');
if (this.getAttribute('styles')) {
this.$Elm.setStyles(this.getAttribute('styles'));
}
this.$FX.animate({
opacity: 0.8
opacity: this.getAttribute('opacity')
}, {
duration: 200
});
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren