ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

How to trigger the 'refresh' event of refresher in ionic2 when a page reload

Open eric-heihei opened this issue 10 years ago • 4 comments

Ionic version: (check one with "x") [ ] 1.x [ ] 2.x

I'm submitting a ... (check one with "x") [ ] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Current behavior:

I don't know how to trigger the event of refresher when a page reload. For example: ..... export class ActivityPage implements OnInit { ngOnInit() { } } I want to trigger the 'refresh' event of refresher in the function ngOnInit() Expected behavior:

I want to trigger the 'refresh' event of refresher in the function ngOnInit() Who can give me a demo?Thanks. Steps to reproduce:

Related code:

insert any relevant code here

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

insert the output from ionic info here

eric-heihei avatar Nov 29 '16 09:11 eric-heihei

+1 how to achieve it?

finalxcode avatar Nov 30 '16 08:11 finalxcode

+1

Majorhe avatar Dec 01 '16 09:12 Majorhe

Hello! Thanks for opening an issue with us! As this seems like more of a support question i will urge that you ask this question on our forum or on our slack channel. Thanks for using Ionic!

jgw96 avatar Jan 24 '17 22:01 jgw96

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

ionitron-bot[bot] avatar Sep 04 '18 12:09 ionitron-bot[bot]