CodeQL library for JavaScript
Search

Module Angular2

Provides classes for working with Angular (also known as Angular 2.x) applications.

Import path

import javascript

Predicates

activatedRoute

Gets a reference to an ActivatedRoute object.

activatedRouteProp

Gets a data flow node referring to the value of the route property name, accessed via one of the following patterns: js route.snapshot.name route.snapshot.data.name route.name.subscribe(x => ...)

activatedRouteSnapshot

Gets a reference to an ActivatedRouteSnapshot object.

domSanitizer

Gets a reference to a DomSanitizer object.

getAPipeCall

Gets an invocation of the pipe of the given name.

httpClient

Gets a reference to an HttpClient object.

isAngularExpressionAttribute

Holds if the value of attrib is interpreted as an Angular expression.

paramDictionaryObject

Gets a reference to a Params object, usually containing values from the URL.

paramMap

Gets a reference to a ParamMap object, usually containing values from the URL.

router

Gets a reference to a Router object.

routerState

Gets a reference to a RouterState object.

routerStateSnapshot

Gets a reference to a RouterStateSnapshot object.

urlSegment

Gets a data flow node referring to a UrlSegment object matched by some route.

Classes

AngularSource

A value from @angular/router derived from the URL.

ComponentClass

The class for an Angular component.

MatTableElement

A <mat-table> element.

PipeClass

A class with the @Pipe decorator.

PipeRefExpr

A reference to a pipe function, occurring in an Angular pipe expression that has been desugared to a function call.

TemplateTopLevel

The top-level containing an Angular expression.

TemplateVarRefExpr

A reference to a variable in a template expression, corresponding to a property on the component class.