UNPKG

vuestic-ui

Version:
11 lines (10 loc) 483 B
import { Ref } from 'vue'; import { DateInputModelValue } from '../types'; /** * This guard is used to prevent updating modelValue if range end is not specified. * This guard provides reset method, that allow us to reset VaDateInput value if dropdown is closed. */ export declare const useRangeModelValueGuard: (modelValue: Ref<DateInputModelValue>, disabled: Ref<boolean>) => { valueComputed: import("vue").WritableComputedRef<DateInputModelValue>; reset: () => void; };