Answers for "ionic run live reload"

0

reload ionic page

import { Component } from '@angular/core';

@Component({
  selector: 'refresher-example',
  templateUrl: 'refresher-example.html',
  styleUrls: ['./refresher-example.css'],
})
export class RefresherExample {
  constructor() {}

  doRefresh(event) {
    console.log('Begin async operation');

    setTimeout(() => {
      console.log('Async operation has ended');
      event.target.complete();
    }, 2000);
  }
}
Posted by: Guest on November-07-2020
0

ionic reload app

// Go to voice: resets all view cache: so data is reloaded with currently language. 
window.location.assign('/');
Posted by: Guest on April-22-2020

Browse Popular Code Answers by Language