feat(runtime-core): add inheritRef option + make <transition> & <keep-alive> inherit refs

This commit is contained in:
Evan You
2020-05-22 10:26:02 -04:00
parent 88c1e626a7
commit 38f2d23a60
7 changed files with 30 additions and 6 deletions

View File

@@ -100,6 +100,7 @@ export interface ComponentOptionsBase<
components?: Record<string, PublicAPIComponent>
directives?: Record<string, Directive>
inheritAttrs?: boolean
inheritRef?: boolean
emits?: E | EE[]
// Internal ------------------------------------------------------------------