Global Config

Vue.config is an object containing Vue’s global configurations. You can modify its properties listed below before bootstrapping your application:

debug

delimiters

unsafeDelimiters

silent

async

devtools

Global API

Vue.extend( options )

Vue.nextTick( callback )

Vue.set( object, key, value )

Vue.delete( object, key )

Vue.directive( id, [definition] )

Vue.elementDirective( id, [definition] )

Vue.filter( id, [definition] )

Vue.component( id, [definition] )

Vue.transition( id, [hooks] )

Vue.partial( id, [partial] )

Vue.use( plugin, [options] )

Vue.mixin( mixin )

Options / Data

data

props

computed

methods

watch

Options / DOM

el

template

replace

Options / Lifecycle Hooks

init

created

beforeCompile

compiled

ready

attached

detached

beforeDestroy

destroyed

Options / Assets

directives

elementDirectives

filters

components

transitions

partials

Options / Misc

parent

events

mixins

name

Instance Properties

vm.$data

vm.$el

vm.$options

vm.$parent

vm.$root

vm.$children

vm.$refs

vm.$els

Instance Methods / Data

vm.$watch( expOrFn, callback, [options] )

Note: when mutating (rather than replacing) an Object or an Array, the old value will be the same as new value because they reference the same Object/Array. Vue doesn’t keep a copy of the pre-mutate value.

vm.$get( expression )

vm.$set( keypath, value )

vm.$delete( key )

vm.$eval( expression )

vm.$interpolate( templateString )

vm.$log( [keypath] )

Instance Methods / Events

vm.$on( event, callback )

vm.$once( event, callback )

vm.$off( [event, callback] )

vm.$emit( event, […args] )

vm.$dispatch( event, […args] )

vm.$broadcast( event, […args] )

Instance Methods / DOM

vm.$appendTo( elementOrSelector, [callback] )

vm.$before( elementOrSelector, [callback] )

vm.$after( elementOrSelector, [callback] )

vm.$remove( [callback] )

vm.$nextTick( callback )

Instance Methods / Lifecycle

vm.$mount( [elementOrSelector] )

vm.$destroy( [remove] )

Directives

v-text

v-html

v-if

v-show

v-else

v-for

v-on

v-bind

v-model

v-ref

v-el

v-pre

v-cloak

Special Elements

component

slot

partial

Filters

capitalize

uppercase

lowercase

currency

pluralize

json

debounce

limitBy

filterBy

orderBy

Array Extension Methods

Vue.js extends Array.prototype with two additional methods that makes it easier to perform some common Array operations while ensuring reactive updates are properly triggered.

array.$set(index, value)

array.$remove(reference)