intact-vue
Advanced tools
Comparing version 3.0.6 to 3.0.7
@@ -5,3 +5,11 @@ import { ComponentClass, RefObject, NonNullableRefObject, Ref } from './types'; | ||
export declare function createRef<T = Element>(defaultValue: T): NonNullableRefObject<T>; | ||
export declare function mountRef(ref?: Ref<ComponentClass> | Ref<Element> | Ref<ComponentClass | Element> | null, value?: any): void; | ||
/** | ||
* We must mount ref after all operations completed, because when we patch children, | ||
* one child will be mounted before being removed. e.g. | ||
* patchTest( | ||
* h('div', null, [h('div'), h('div', {ref})]), | ||
* h('div', null, [h('div', {ref})]), | ||
* ); | ||
*/ | ||
export declare function mountRef(ref: Ref<ComponentClass> | Ref<Element> | Ref<ComponentClass | Element> | null | undefined, value: any, mountedQueue: Function[]): void; | ||
export declare function unmountRef(ref?: Ref<ComponentClass> | Ref<Element> | Ref<ComponentClass | Element> | null): void; |
{ | ||
"name": "intact-vue", | ||
"version": "3.0.6", | ||
"version": "3.0.7", | ||
"description": "A compatibility layer for running intact component in vue2.0", | ||
@@ -33,5 +33,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"intact": "^3.0.6", | ||
"intact": "^3.0.7", | ||
"tslib": "^2.3.1" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
991321
23882
Updatedintact@^3.0.7