refactor: refactored classes logic

This commit is contained in:
victor
2022-12-11 23:01:35 +04:00
parent 5c59b6813d
commit e4b31bcfb2
12 changed files with 268 additions and 328 deletions

View File

@@ -1,5 +1,5 @@
import { onBeforeMount, onBeforeUnmount, reactive } from 'vue'
import type { tAccordionMode, tState } from '@/components/Accordion/types'
import type { tState } from '@/components/Accordion/types'
const accordionsStates = reactive<tState>({})
export function useAccordionState(id?: string, options?: {flush: boolean, alwaysOpen: boolean}): {