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(){
- let self = this;
- self.api.showMask()
- .then(() => {
- self.api.getPartnery()
- .then((response: any) => {
- self.api.hideMask()
- .then(() => {
- self.partnery = response;
- });
- });
- })
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment