Query module DeadAngularJSEventListener

name
Dead AngularJS event listener
description
An AngularJS event listener that listens for a non-existent event has no effect.
kind
problem
problem.severity
warning
precision
medium
id
js/angular/dead-event-listener
tags
correctness frameworks/angularjs

Imports

javascript

Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML.

Predicates

isABuiltinEventName

Holds if the name is a known AngularJS event name.

isAUserDefinedEventName

Holds if user code emits or broadcasts an event named name.