import { Component , ChangeDetectionStrategy , ViewChild , ElementRef , Input } from "@angular/core" ; declare var jQuery ; @ Component ( { changeDetection : ChangeDetectionStrategy . OnPush , selector : "sm-transition" , template : `
    <div #transition>
        <ng-content></ng-content>
    </div>
    ` } ) export class SemanticTransitionComponent { @ ViewChild ( "transition" ) transition : ElementRef ; param animation show ( animation ? ) { jQuery ( this . transition . nativeElement ) . transition ( animation || "fade out" ) ; } }