CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.3.1-dev (changelog, source)
Search

Class AngularJS::ComponentDirective

An AngularJS component defined by angular.component.

Import path

import javascript

Direct supertypes

Indirect supertypes

Fields

comp

The definition of this component.

Predicates

bindsToController

Holds if this directive’s properties are bound to the controller.

getALinkFunction

Gets a link function of this directive.

getAnInstantiation

Gets a node that contributes to the return value of the factory function.

getDefinition

Gets the element defining this directive.

getMemberInit

Gets the data flow node from which member name of this directive is initialized.

getName

Gets the name of this directive.

hasIsolateScope

Holds if this directive introduces an isolate scope.

Inherited predicates

getAMatchingElement

Gets a DOM element matching this directive.

from DirectiveInstance
getAScope

Gets a scope object for this directive.

from CustomDirective
getATarget

Gets a directive target matching this directive.

from CustomDirective
getATemplateFile

Gets a template file for this directive, if any.

from CustomDirective
getController

Gets the controller function of this directive, if any.

from CustomDirective
getMember

Gets the member name of this directive.

from CustomDirective
getMethod

Gets the method name of this directive.

from CustomDirective
getTemplateUrl

Gets the template URL of this directive, if any.

from CustomDirective
toString

Gets a textual representation of this directive.

from DirectiveInstance

Charpred