CodeQL library for JavaScript
Search

Class Vue::ComponentExtension

A component created via an explicit call to Vue.extend({...}) or CustomComponent.extend({...}).

Import path

import javascript

Direct supertypes

Indirect supertypes

Fields

Predicates

getABaseComponent

Gets a component which is extended by this one.

getComponentRef

Gets an API node referring to the component itself.

getOwnOptions

Gets an API node referring to the options passed to the Vue object, such as the object literal {...} in new Vue{{...}) or the default export of a single-file component.

getTemplateElement

Gets the template element used by this component, if any.

hasLocationInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see locations.

toString

Gets a textual representation of this element.

Inherited predicates

getABoundFunction

Gets a node for a function that will be invoked with this bound to this component.

from Component
getALifecycleHook

Gets the node for the life cycle hook of the hookName option of this component.

from Component
getAPropertyValue

Gets the data flow node that flows into the property name of this component, or is returned form a getter defining that property.

from Component
getAnInstanceRef

Gets a data flow node referring to an instance of this component.

from Component
getAsClassComponent

Gets the class implementing this Vue component, if any.

from Component
getComputed

Gets the node for the computed option of this component.

from Component
getData

Gets the node for the data option object of this component.

from Component
getInstance

Gets an API node referring to an instance of this component.

from Component
getMethods

Gets the node for the methods option of this component.

from Component
getOption

Gets the node for option name for this component, including those from extended objects and mixins.

from Component
getOptionSource

Gets a source node flowing into the option name of this component, including those from extended objects and mixins.

from Component
getOptions

Gets an API node referring to the options passed to the Vue object or one of its base component.

from Component
getOwnOption

Gets the node for option name for this component, not including those from extended objects and mixins.

from Component
getOwnOptionsObject

DEPRECATED. Use getOwnOptions().getARhs().

from Component
getRender

Gets the node for the render option of this component.

from Component
getTemplate

Gets the node for the template option of this component.

from Component
getWatch

Gets the node for the watch option of this component.

from Component
getWatchHandler

Gets the function responding to changes to the given propName.

from Component

Charpred