ionic-team / ionic-team/ionic-framework

feat: Ability to programmatically start `ion-refresher`

Abierto
#16,542 8 comentarios 10 reacciones 0 asignados Ver en GitHub
package: angular package: core type: feature request
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

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.