W3cubDocs

/Angular 2

HostListener

Stable Interface

Interface Overview

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

Interface Description

HostListener decorator and metadata.

Interface Details

eventName : string
args : string[]

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

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