A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://vuejs.org/api/component-instance below:

Website Navigation


Component Instance | Vue.js

Component Instance

INFO

This page documents the built-in properties and methods exposed on the component public instance, i.e. this.

All properties listed on this page are readonly (except nested properties in $data).

$data

The object returned from the data option, made reactive by the component. The component instance proxies access to the properties on its data object.

$props

An object representing the component's current, resolved props.

$el

The root DOM node that the component instance is managing.

$options

The resolved component options used for instantiating the current component instance.

$parent

The parent instance, if the current instance has one. It will be null for the root instance itself.

$root

The root component instance of the current component tree. If the current instance has no parents this value will be itself.

$slots

An object representing the slots passed by the parent component.

$refs

An object of DOM elements and component instances, registered via template refs.

$attrs

An object that contains the component's fallthrough attributes.

$watch()

Imperative API for creating watchers.

$emit()

Trigger a custom event on the current instance. Any additional arguments will be passed into the listener's callback function.

$forceUpdate()

Force the component instance to re-render.

$nextTick()

Instance-bound version of the global nextTick().


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4