当前位置: 移动技术网 > IT编程>脚本编程>vue.js > Vue API【2.x】

Vue API【2.x】

2020年07月26日  | 移动技术网IT编程  | 我要评论

全局配置

silent
optionMergeStrategies
devtools
errorHandler
warnHandler
ignoredElements
keyCodes
performance
productionTip

全局 API

Vue.extend
Vue.nextTick
Vue.set
Vue.delete
Vue.directive
Vue.filter
Vue.component
Vue.use
Vue.mixin
Vue.compile
Vue.observable
Vue.version

选项 / 数据

data
props
propsData
computed
methods
watch

选项 / DOM

el
template
render
renderError

选项 / 生命周期钩子

beforeCreate
created
beforeMount
mounted
beforeUpdate
updated
activated
deactivated
beforeDestroy
destroyed
errorCaptured

选项 / 资源

directives
filters
components

选项 / 组合

parent
mixins
extends
provide / inject

选项 / 其它

name
delimiters
functional
model
inheritAttrs
comments

实例 property

vm.$data
vm.$props
vm.$el
vm.$options
vm.$parent
vm.$root
vm.$children
vm.$slots
vm.$scopedSlots
vm.$refs
vm.$isServer
vm.$attrs
vm.$listeners

实例方法 / 数据

vm.$watch
vm.$set
vm.$delete

实例方法 / 事件

vm.$on
vm.$once
vm.$off
vm.$emit

实例方法 / 生命周期

vm.$mount
vm.$forceUpdate
vm.$nextTick
vm.$destroy

指令

v-text
v-html
v-show
v-if
v-else
v-else-if
v-for
v-on
v-bind
v-model
v-slot
v-pre
v-cloak
v-once

特殊 attribute

key
ref
is
slot
slot-scope
scope

内置的组件

component
transition
transition-group
keep-alive
slot

本文地址:https://blog.csdn.net/VariatioZbw/article/details/107576285

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网