Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

Linnea Samila / Moya

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • moya
  • code
  • moya-angular
  • src
  • app
  • directives
  • i18n.directive.ts
  • Tuukka Kivilahti's avatar
    ohjelman runkoa · 2eabd5d2
    Tuukka Kivilahti committed Feb 10, 2018
    2eabd5d2 Browse Files
i18n.directive.ts 330 Bytes
BlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
import {Directive, ElementRef, TemplateRef, ViewContainerRef} from '@angular/core';

@Directive({
  selector: '[i18n]'
})
export class I18nDirective {

  constructor(
               private viewContainer: ViewContainerRef) {



    console.log(this.viewContainer);


   // console.log(el.nativeElement.style.background);


  }

}