Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { Component, OnInit } from '@angular/core';
- import {Api,ToastNotify} from '../providers/providers';
- @Component({
- selector: 'app-muscles',
- templateUrl: './muscles.page.html',
- styleUrls: ['./muscles.page.scss'],
- })
- export class MusclesPage {
- partnery: any;
- constructor(
- public api: Api,
- ) {}
- ionViewDidEnter(){
- this.api.getPartnery().subscribe((data)=>{
- console.log(data);
- this.partnery = data['partnery'];
- });
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment