SHARE
TWEET

Untitled

a guest Jun 20th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. isTapped = false // by default
  2.  
  3. // Below code is executed
  4. this.isTapped = true;
  5. this.moviesFeedsService.getMovieDetails(asset.asset_id).subscribe
  6.         ((msuMovieDetails) => {
  7.           this.navCtrl.push(
  8.             MediaDetailsPage,
  9.             {
  10.               headerDataTitle: this.headerData.title,
  11.               movieDetails: msuMovieDetails,
  12.               showEpisode: this.featureLayoutData.showEpisodes
  13.             },
  14.             navOptions
  15.           ).then(() => {
  16.             this.isTapped = false; // Reset flag
  17.           });
  18.         });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top