@distante wrote:
With Ionic 3 I was able to do this:
const loader = this.loadingCtrl.create({ message: this.sanitizer.bypassSecurityTrustHtml(loadingText) as string, spinner: 'dots' });
or
loader.message = this.sanitizer.bypassSecurityTrustHtml(loadingText) as string,
And use there custom HTML inside Ionic Loading Component. With Ionic4 I just get an empty Loading. Is there a way to use HTML in the Loading Component with Ionic4 ?
Edit: when I append some text after the Safe HTML I get after the bypassSecurity i see this
SafeValue must use [property]=binding:
Edit 2: In the official docs says
and any optional HTML can be passed in the
content
property.But there is no content property in
HTMLIonLoadingElement
Posts: 1
Participants: 1