import { Directive , ElementRef , Renderer } from '@angular/core' ; hidden @ Directive ( { selector : 'ion-backdrop' , host : { 'role' : 'presentation' , 'tappable' : '' , 'disable-activated' : '' } , } ) export class Backdrop { constructor ( private _elementRef , private _renderer ) { } getNativeElement ( ) { return this . _elementRef . nativeElement ; } setElementClass ( className , add ) { this . _renderer . setElementClass ( this . _elementRef . nativeElement , className , add ) ; } }