All files / ngui-list/src ngui-list.directive.ts

100% Statements 7/7
100% Branches 0/0
100% Functions 1/1
100% Lines 5/5

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 192x                   2x   1x   1x   1x    
import {
  Directive,
  ElementRef,
  EventEmitter,
  Output
} from '@angular/core';
 
@Directive({
  selector: 'ngui-list' // eslint-disable-line
})
export class NguiListDirective {
  /** Fired when child `<ngui-list-item>` is selected */
  @Output() selected: EventEmitter<any> = new EventEmitter();
  /** Fired when `ESC` key is pressed from `<ngui-list-item>` */
  @Output() escaped: EventEmitter<any> = new EventEmitter();
 
  constructor(public element: ElementRef) { }
}