Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
531 views

Vuejs Cheatsheet

The document provides an overview of key configuration options, components, directives, and methods available in Vue.js versions 2.1 and 2.2. It includes sections on global config, lifecycle hooks, DOM options, data properties, methods, directives, components, events, modifiers and more. The last column indicates which version features were introduced.

Uploaded by

thinkxml28695
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
531 views

Vuejs Cheatsheet

The document provides an overview of key configuration options, components, directives, and methods available in Vue.js versions 2.1 and 2.2. It includes sections on global config, lifecycle hooks, DOM options, data properties, methods, directives, components, events, modifiers and more. The last column indicates which version features were introduced.

Uploaded by

thinkxml28695
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Cong Global Lifecycle Hooks Options DOM Options Data Methods Properties Instance Directives html Attributes html

ds Properties Instance Directives html Attributes html v-model Modiers Mouse Modiers

silent beforeCreate el vm.$watch vm.$data v-text key v-model .lazy v-on:click .left 2.2

optionMergeStrategies created template vm.$set vm.$props 2.2 v-html ref v-model .number v-on:click .right 2.2

devtools beforeMount render vm.$delete vm.$el v-show slot v-model .trim v-on:click .middle 2.2

errorHandler mounted renderError 2.2 vm.$options v-if


Events Methods Components Built-In Event Modiers Keyboard Modiers
ignoredElements beforeUpdate vm.$parent v-else
Assets Options vm.$on component v-on:click .native v-on:keyup .ctrl 2.1
keyCodes updated vm.$root v-else-if 2.1

directives vm.$once transition v-on:click .stop v-on:keyup .alt 2.1


performance 2.2 activated vm.$children v-for
lters vm.$off transition-group v-on:click .prevent v-on:keyup .shift 2.1
productionTip 2.2 deactivated vm.$slots v-on
components vm.$emit keep-alive v-on:click .capture v-on:keyup .meta 2.1
beforeDestroy vm.$scopedSlots 2.1 v-bind
API Global slot v-on:click .self v-on:keyup .enter
destroyed Options Methods vm.$refs v-model
Composition Lifecycle
Vue.extend v-on:click .once 2.1.4 v-on:keyup .tab
parent vm.$mount vm.$isServer v-pre
Vue.nextTick Data Options v-on:keyup .delete
mixins vm.$forceUpdate v-cloak v-bind Modiers
Vue.set data v-on:keyup .esc
extends vm.$nextTick v-once v-bind .prop
Vue.delete props v-on:keyup .up
provide / inject 2.2 vm.$destroy v-bind .camel 2.1
Vue.directive propsData Directives Hooks v-on:keyup .down

Vue.lter computed Options bind v-on:keyup .left


Misc
Vue.component methods name inserted v-on:keyup .right

Vue.use watch delimiters update


Vue.mixin functional componentUpdated

Vue.compile model 2.2 unbind


Vue.version

You might also like