import { Component , ElementRef , Input , Renderer2 , ViewEncapsulation } from '@angular/core' ; import { Account } from '@signumjs/core' ; @ Component ( { selector : 'navbar' , templateUrl : './navbar.component.html' , styleUrls : [ './navbar.component.scss' ] , encapsulation : ViewEncapsulation . None } ) export class NavbarComponent { _variant : string ; param { ElementRef } _elementRef param { Renderer2 } _renderer constructor ( private _elementRef , private _renderer ) { this . _variant = 'vertical-style-1' ; } /**
     * Variant
     */ get variant ( ) : string { return this . _variant ; } @ Input ( ) set variant ( value ) { this . _renderer . removeClass ( this . _elementRef . nativeElement , this . variant ) ; this . _variant = value ; this . _renderer . addClass ( this . _elementRef . nativeElement , value ) ; } @ Input ( 'selectedAccount' ) selectedAccount : Account ; }