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
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
Keine zugehörigen Merge Requests gefunden
...@@ -41,6 +41,7 @@ define('qui/controls/loader/Loader', [ ...@@ -41,6 +41,7 @@ define('qui/controls/loader/Loader', [
styles : false, // extra CSS styles, styles : false, // extra CSS styles,
type : false, type : false,
color : false, color : false,
opacity : 0.8,
loaderErrorText: 'Das Fenster reagiert nicht mehr. Um fortzufahren, klicken Sie bitte hier.' loaderErrorText: 'Das Fenster reagiert nicht mehr. Um fortzufahren, klicken Sie bitte hier.'
}, },
...@@ -200,8 +201,12 @@ define('qui/controls/loader/Loader', [ ...@@ -200,8 +201,12 @@ define('qui/controls/loader/Loader', [
// must be showed, because, hide can be triggered -> no async showed // must be showed, because, hide can be triggered -> no async showed
this.$Elm.setStyle('display', ''); this.$Elm.setStyle('display', '');
if (this.getAttribute('styles')) {
this.$Elm.setStyles(this.getAttribute('styles'));
}
this.$FX.animate({ this.$FX.animate({
opacity: 0.8 opacity: this.getAttribute('opacity')
}, { }, {
duration: 200 duration: 200
}); });
......
0% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren