switchToArticle(article, oldRoute) {
    //need a different animation if the last frame was sth to animate back correctly to prev article, related articles on close go to hub
    let animation =
      oldRoute.route[2] === 'sth'
        ? 'animate_fade_to_channels'
        : 'animate_fade_to_article';
    this.animateFrontPageOut(animation);
    this.getArticleDetail(article);
  }
/**
   * Article detail page animation
   *
   * @param {Article} article  api/Articles/Article
   * @param {Object} oldRoute  Router Object
   */
Article detail page animation
@param {Article} article  api/Articles/Article
@param {Object} oldRoute  Router Object
Article detail page animation @param { Article } article api / Articles / Article @param { Object } oldRoute Router Object
switchToArticle(article, oldRoute) {
    let animation =
      oldRoute.route[2] === 'sth'
        ? 'animate_fade_to_channels'
        : 'animate_fade_to_article';
    this.animateFrontPageOut(animation);
    this.getArticleDetail(article);
  }
switchToArticle ( article , oldRoute ) { let animation = oldRoute . route [ 2 ] === 'sth' ? 'animate_fade_to_channels' : 'animate_fade_to_article' ; this . animateFrontPageOut ( animation ) ; this . getArticleDetail ( article ) ; }
Article detail page animation
 @param {Article} article  api/Articles/Article
 @param {Object} oldRoute  Router Object
Article detail page animation @param { Article } article api / Articles / Article @param { Object } oldRoute Router Object
//need a different animation if the last frame was sth to animate back correctly to prev article, related articles on close go to hub