- Fix router import path in main.js - Handle Django REST Framework pagination format in API calls - Add getTemplates function to project API - Restart frontend development server
14 lines
430 B
JavaScript
14 lines
430 B
JavaScript
import { DROPDOWN_INSTANCE_INJECTION_KEY } from "./tokens.mjs";
|
|
import { computed, inject } from "vue";
|
|
//#region ../../packages/components/dropdown/src/useDropdown.ts
|
|
const useDropdown = () => {
|
|
const elDropdown = inject(DROPDOWN_INSTANCE_INJECTION_KEY, {});
|
|
return {
|
|
elDropdown,
|
|
_elDropdownSize: computed(() => elDropdown?.dropdownSize)
|
|
};
|
|
};
|
|
//#endregion
|
|
export { useDropdown };
|
|
|
|
//# sourceMappingURL=useDropdown.mjs.map
|