UNPKG

@inkline/inkline

Version:

Inkline is the intuitive UI Components library that gives you a developer-friendly foundation for building high-quality, accessible, and customizable Vue.js 3 Design Systems.

17 lines (16 loc) 480 B
import type { Ref } from 'vue'; export declare function useCollapsible(props: { collapse: Ref<string | boolean>; modelValue: Ref<boolean>; emit: (event: 'update:modelValue', ...args: any[]) => void; }): { open: Ref<boolean>; collapsible: Ref<boolean>; classes: import("vue").ComputedRef<{ [x: string]: boolean; '-open': boolean; '-collapsible': boolean; }>; setOpen: (value: boolean) => void; toggleOpen: () => void; };