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

Class AngularJS::GeneralDirective

A custom AngularJS directive defined by angular.directive.

Import path

import javascript

Direct supertypes

Indirect supertypes

Fields

definition

The definition of this directive.

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.

getCompileFunction

Gets the compile function of this directive, if any.

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.

getPostLinkFunction

Gets the post-link function of this directive.

getPreLinkFunction

Gets the pre-link function 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