How to update message of LoadingController in ionic4?

for now, I am updating the html directly with jquery:

$(‘.loading-content’).html(text);

That’s very ugly however. I wish the component would support it.