bivcore-insight
Version:
A blockchain explorer for Bitcore
23 lines (19 loc) • 511 B
text/typescript
import { Component, Injectable, Input } from '@angular/core';
import { Nav } from 'ionic-angular';
import { ChainNetwork } from '../../providers/api/api';
export class FooterComponent {
public chainNetwork: ChainNetwork;
constructor(public nav: Nav) {}
public openPage(page: string): void {
this.nav.push(page, {
chain: this.chainNetwork.chain,
network: this.chainNetwork.network
});
}
}