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

Class AngularJS::CustomDirective

A custom AngularJS directive, either a general directive defined by angular.directive or a component defined by angular.component.

Import path

import javascript

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

bindsToController

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

getALinkFunction

Gets a link function of this directive.

getAScope

Gets a scope object for this directive.

getATarget

Gets a directive target matching this directive.

getATemplateFile

Gets a template file for this directive, if any.

getAnInstantiation

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

getController

Gets the controller function of this directive, if any.

getDefinition

Gets the element defining this directive.

getMember

Gets the member name of this directive.

getMemberInit

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

getMethod

Gets the method name of this directive.

getTemplateUrl

Gets the template URL of this directive, if any.

hasIsolateScope

Holds if this directive introduces an isolate scope.

Inherited predicates

getAMatchingElement

Gets a DOM element matching this directive.

from DirectiveInstance
getName

Gets the name of this directive.

from DirectiveInstance
toString

Gets a textual representation of this directive.

from DirectiveInstance