diff --git a/docs/vue.html b/docs/vue.html index a642598d..6eb2ebb1 100644 --- a/docs/vue.html +++ b/docs/vue.html @@ -352,7 +352,7 @@ -
:-:-
createApp()#
createSSRApp()#
app.mount()#
app.unmount()#
app.provide()#
app.component()#
app.directive()#
app.use()#
app.mixin()#
app.version#
app.config#
app.config.errorHandler#
app.config.warnHandler#
app.config.performance#
app.config.compilerOptions#
app.config.globalProperties#
app.config.optionMergeStrategies#
+
:-:-
createApp()#
createSSRApp()#
app.mount()#
app.unmount()#
app.provide()#
app.component()#
app.directive()#
app.use()#
app.mixin()#
app.version#
app.config#
app.config.errorHandler#
app.config.warnHandler#
app.config.performance#
app.config.compilerOptions#
app.config.globalProperties#
app.config.optionMergeStrategies#

通用 - (全局 API)

@@ -383,7 +383,7 @@ -
:-:-
version#
nextTick()#
defineComponent()#
defineAsyncComponent()#
defineCustomElement()#
+
:-:-
version#
nextTick()#
defineComponent()#
defineAsyncComponent()#
defineCustomElement()#

setup() - (组合式 API)

@@ -410,7 +410,7 @@ -
:-:-
基本使用#
访问 Props#
Setup 上下文#
与渲染函数一起使用#
+
:-:-
基本使用#
访问 Props#
Setup 上下文#
与渲染函数一起使用#

响应式: 工具 - (组合式 API)

@@ -449,7 +449,7 @@ -
:-:-
isRef()#
unref()#
toRef()#
toRefs()#
isProxy()#
isReactive()#
isReadonly()#
+
:-:-
isRef()#
unref()#
toRef()#
toRefs()#
isProxy()#
isReactive()#
isReadonly()#

生命周期钩子 - (组合式 API)

@@ -509,7 +509,7 @@ -
:-:-
onMounted()#
onUpdated()#
onUnmounted()#
onBeforeMount()#
onBeforeUpdate()#
onBeforeUnmount()#
onErrorCaptured()#
onRenderTracked()#
onRenderTriggered()#
onActivated()#
onDeactivated()#
onServerPrefetch()#
+
:-:-
onMounted()#
onUpdated()#
onUnmounted()#
onBeforeMount()#
onBeforeUpdate()#
onBeforeUnmount()#
onErrorCaptured()#
onRenderTracked()#
onRenderTriggered()#
onActivated()#
onDeactivated()#
onServerPrefetch()#

依赖注入 - (组合式 API)

@@ -528,7 +528,7 @@ -
:-:-
provide()#
inject()#
+
:-:-
provide()#
inject()#

响应式: 核心 - (组合式 API)

@@ -571,7 +571,7 @@ -
:-:-
ref()#
computed ()#
reactive()#
readonly()#
watchEffect()#
watchPostEffect()#
watchSyncEffect()#
watch()#
+
:-:-
ref()#
computed ()#
reactive()#
readonly()#
watchEffect()#
watchPostEffect()#
watchSyncEffect()#
watch()#

状态选项 - (选项式 API)

@@ -610,7 +610,7 @@ -
:-:-
data#
props#
computed#
methods#
watch#
emits#
expose#
+
:-:-
data#
props#
computed#
methods#
watch#
emits#
expose#

生命周期选项 - (选项式 API)

@@ -678,7 +678,7 @@ -
:-:-
beforeCreate#
created#
beforeMount#
mounted#
beforeUpdate#
updated#
beforeUnmount#
unmounted#
errorCaptured#
renderTracked#
renderTriggered#
activated#
deactivated#
serverPrefetch#
+
:-:-
beforeCreate#
created#
beforeMount#
mounted#
beforeUpdate#
updated#
beforeUnmount#
unmounted#
errorCaptured#
renderTracked#
renderTriggered#
activated#
deactivated#
serverPrefetch#

其他杂项 - (选项式 API)

@@ -705,7 +705,7 @@ -
:-:-
name#
inheritAttrs#
components#
directives#
+
:-:-
name#
inheritAttrs#
components#
directives#

渲染选项 - (选项式 API)

@@ -728,7 +728,7 @@ -
:-:-
template#
render#
compilerOptions#
+
:-:-
template#
render#
compilerOptions#

组件实例 - (选项式 API)

@@ -792,7 +792,7 @@ -
:-:-
$data#
$props#
$el#
$options#
$parent#
$root#
$slots#
$refs#
$attrs#
$watch()#
$emit()#
$forceUpdate()#
$nextTick()#
+
:-:-
$data#
$props#
$el#
$options#
$parent#
$root#
$slots#
$refs#
$attrs#
$watch()#
$emit()#
$forceUpdate()#
$nextTick()#

组合选项 - (选项式 API)

@@ -819,7 +819,7 @@ -
:-:-
provide#
inject#
mixins#
extends#
+
:-:-
provide#
inject#
mixins#
extends#

指令 - (内置内容)

@@ -891,7 +891,7 @@ -
:-:-
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-once#
v-memo#
v-cloak#
+
:-:-
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-once#
v-memo#
v-cloak#

组件 - (内置内容)

@@ -922,7 +922,7 @@ -
:-:-
<Transition>#
<TransitionGroup>#
<KeepAlive>#
<Teleport>#
<Suspense>#
+
:-:-
<Transition>#
<TransitionGroup>#
<KeepAlive>#
<Teleport>#
<Suspense>#

特殊 Attributes - (内置内容)

@@ -945,7 +945,7 @@ -
:-:-
key#
ref#
is#
+
:-:-
key#
ref#
is#

特殊元素 - (内置内容)

@@ -964,7 +964,7 @@ -
:-:-
<component>#
<slot>#
+
:-:-
<component>#
<slot>#

语法定义 - (单文件组件)

@@ -1000,7 +1000,7 @@ -
:-:-
总览#
相应语言块#
自动名称推导#
预处理器#
Src 导入#
注释#
+
:-:-
总览#
相应语言块#
自动名称推导#
预处理器#
Src 导入#
注释#

<script setup> - (单文件组件)

@@ -1056,7 +1056,7 @@ -
:-:-
基本语法#
响应式#
使用组件#
使用自定义指令#
defineProps() 和 defineEmits()#
defineExpose#
useSlots() 和 useAttrs()#
与普通的 &lt;script&gt; 一起使用#
顶层 await#
针对 TypeScript 的功能#
限制#
+
:-:-
基本语法#
响应式#
使用组件#
使用自定义指令#
defineProps() 和 defineEmits()#
defineExpose#
useSlots() 和 useAttrs()#
与普通的 &lt;script&gt; 一起使用#
顶层 await#
针对 TypeScript 的功能#
限制#

CSS 功能 - (单文件组件)

@@ -1079,7 +1079,7 @@ -
:-:-
组件作用域 CSS#
CSS Modules#
CSS 中的 v-bind()#
+
:-:-
组件作用域 CSS#
CSS Modules#
CSS 中的 v-bind()#

渲染函数 - (进阶 API)

@@ -1122,7 +1122,7 @@ -
:-:-
h()#
mergeProps()#
cloneVNode()#
isVNode()#
resolveComponent()#
resolveDirective()#
withDirectives()#
withModifiers()#
+
:-:-
h()#
mergeProps()#
cloneVNode()#
isVNode()#
resolveComponent()#
resolveDirective()#
withDirectives()#
withModifiers()#

服务端渲染 - (进阶 API)

@@ -1161,7 +1161,7 @@ -
:-:-
renderToString()#
renderToNodeStream()#
pipeToNodeWritable()#
renderToWebStream()#
pipeToWebWritable()#
renderToSimpleStream()#
useSSRContext()#
+
:-:-
renderToString()#
renderToNodeStream()#
pipeToNodeWritable()#
renderToWebStream()#
pipeToWebWritable()#
renderToSimpleStream()#
useSSRContext()#

TypeScript 工具类型 - (进阶 API)

@@ -1192,7 +1192,7 @@ -
:-:-
PropType<T>#
ComponentCustomProperties#
ComponentCustomOptions#
ComponentCustomProps#
CSSProperties#
+
:-:-
PropType<T>#
ComponentCustomProperties#
ComponentCustomOptions#
ComponentCustomProps#
CSSProperties#

自定义渲染 - (进阶 API)

@@ -1207,7 +1207,7 @@ -
:-:-
createRenderer()#
+
:-:-
createRenderer()#

另见