How can I programmatically trigger IonRefresher in Ionic 5 React?

How can I programmatically trigger IonRefresher when I click the button?

<IonContent ref={ionContentRef} slot="fixed">
          
          <IonRefresher
            slot="fixed"          
            onIonRefresh={(e) => {
              doRefresh();
            }}
            ref={ionRefresherRef}>
            <IonRefresherContent
              pullingIcon={null}
              refreshingSpinner="bubbles"
            ></IonRefresherContent>
          </IonRefresher>
...
...
<IonButton onClick={refreshByClickButton}></IonButton>
</IonContent>

Currently not possible. I created a PR some time ago: https://github.com/ionic-team/ionic-framework/pull/21972

Give it a like maybe to prio is higher :blush:

I hate to be that guy, but why would you want to do that.

Just use your own loader/spinner or whatever you want… except the IonRefresher.

Create it as a component with flashy gif’s etc. that’s controlled through global state and then use it throughout your application and give the user a consistent experience.