Это рабочее решение для меня.Я настроил таргетинг loading-wrapper
.
app.scss
.loading-wrapper {
position: absolute !important;
top: 0 !important;
bottom: 0 !important;
left: 0 !important;
right: 0 !important;
padding: 0 !important;
border-radius: 0 !important;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-moz-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-box-align: center;
-moz-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
min-width: 100% !important;
max-height: 100% !important;
background-color: rgba(0, 0, 0, 0.8) !important;
}
.ts
let loader = this.loadingCtrl.create({
content:
`<div class="custom-spinner-container">
Please wait...
</div>`,
});
loader.present();
Пользовательский интерфейс: