填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

Listener

Event listener configuration returned from getListeners.

      
      interface Listener {
  name: string
  element: Element
  callback: (value: any) => any
  useCapture: boolean
  type: 'dom' | 'output'
}
    

属性

属性说明
name: string

Name of the event listener.

element: Element

Element that the listener is bound to.

callback: (value: any) => any

Callback that is invoked when the event is triggered.

useCapture: boolean

Whether the listener is using event capturing.

type: 'dom' | 'output'

Type of the listener (e.g. a native DOM event or a custom @Output).