UNPKG

@vue-flow/core

Version:

[![Vue flow](vue-flow.gif)](https://vueflow.dev/) ![top-language](https://img.shields.io/github/languages/top/bcakmakoglu/vue-flow) ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/bcakmakoglu/vue-flow) ![GitHub last commit](

17 lines (15 loc) 380 B
import type { ToRefs } from 'vue' import type { FlowProps, VueFlowStore } from '../types' /** * Watches props and updates the store accordingly * * @internal * @param models * @param props * @param store */ export declare function useWatchProps( models: ToRefs<Pick<FlowProps, 'nodes' | 'edges' | 'modelValue'>>, props: FlowProps, store: VueFlowStore, ): () => void