ionic-team / ionic-team/ionic-framework
feat: Ability to programmatically start `ion-refresher`
- Lenguaje dominante
- TypeScript
- Estrellas
- 52.7k
- Forks
- 13.3k
- Merge medio
- 1 d 15 h
- PR fusionados (30 d)
- 51
Descripción
# Feature Request
**Ionic Info**
```
Ionic:
ionic (Ionic CLI) : 4.4.0
System:
NodeJS : v8.9.4
npm : 4.2.0
OS : Windows 10
```
**Describe the Feature Request**
As it was possible in Ionic 3.9.2, I would like to have a method to programaticaly begin refresh of a Refresher. I use it on every listPage to automatically load my data and show user that he can pulldown to refresh data
**Describe Preferred Solution**
A method on Refresher object which do the job.
**Describe Alternatives**
Here is my Ionic 3.9.2 code to do this
````
public IonRefreshOpen(refresher: Refresher) {
this._refresher = refresher;
this._refresher._top = `${refresher.pullMin}px`;
this._refresher._beginRefresh();
}
````
Thanks for your answers
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.