Ionic v4 loading


#1

How do i format my text message inside the loading controller in ionic 4


#2

I assume you have read: https://beta.ionicframework.com/docs/api/loading

The docs are light on the elements within it, so you will need to manually inspect it to see the actual elements you can target.


#3

hi chris
you are right i read the above link and tried to implement ionic tags inside the message property but that dint render loading properly. is there any other way to achieve it. below is my code.
{
const loading = await this.loadingcontroller.create({
showBackdrop:true,
duration:5000,
message:“h2(tag) Thanks for visiting …!!!ion-label>-tag>someText /ion-label>”,
translucent:true
});

return await loading.present();
}
when i try adding content property im getting error.


> This text will be hidden

`