pmtpenza

Untitled

Aug 15th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. import { Component, OnInit } from '@angular/core';
  2. import {Api,ToastNotify} from '../providers/providers';
  3.  
  4. @Component({
  5. selector: 'app-muscles',
  6. templateUrl: './muscles.page.html',
  7. styleUrls: ['./muscles.page.scss'],
  8. })
  9. export class MusclesPage {
  10. partnery: any;
  11.  
  12. constructor(
  13. public api: Api,
  14. ) {}
  15. ionViewDidEnter(){
  16.  
  17. this.api.getPartnery().subscribe((data)=>{
  18. console.log(data);
  19. this.partnery = data['partnery'];
  20. });
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment