Credit to devdocs.io

angular 2.0_typescript

angular

HostListener

Stable Interface

Interface Overview

interface HostListener {
  eventName : string
  args : string[]
}

Interface Description

HostBinding decorator and metadata.

Interface Details

eventName : string
args : string[]

exported from @angular/core/index, defined in @angular/core/src/metadata/directives.ts

© 2010–2016 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/docs/ts/latest/api/core/index/HostListener-interface.html