Is there any way to add a timer value (10 seconds), same as the duration of the loader to message of ion-loading

I am using ionic 4 with Angular 7, to create a loading icon


async presentLoadingWithOptions(message) {

    const loading = await this.loadingController.create({
        spinner: 'bubbles',
        duration: 10000,
        message: message,
        translucent: true,
        cssClass: 'custom-class custom-loading'
    await loading.present();

    const { role, data } = await loading.onDidDismiss();

  do something();


I want to pass 10, 9, 8, 7 6, 5 … 1 as a message, to the loader. Is there any possibility to do that?

Not that I know. Use a popover instead