Last active
January 9, 2019 17:56
-
-
Save bodrovis/11f6fc628dceba9d7c3bbab896227573 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from '@angular/core'; | |
import { TranslateService } from '@ngx-translate/core'; // 1 | |
@Component({ | |
selector: 'app-tab1', | |
templateUrl: 'tab1.page.html', | |
styleUrls: ['tab1.page.scss'] | |
}) | |
export class Tab1Page { | |
private language: string = this.translateService.currentLang; // 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment