Files
manolia-alpha/node_modules/buetify/lib/composables/popupController/providePopupController.js
Robin COuret e0e50af706 init component
2026-02-16 17:28:37 +01:00

14 lines
456 B
JavaScript
Executable File

import { constant, constVoid } from 'fp-ts/lib/function';
import { provide } from 'vue';
export const POPUP_CONTROLLER_SYMBOL = Symbol('popup-controller');
export const DEFAULT_POPUP_CONTROLLER_INJECTION = {
showPopup: constant(constVoid)
};
export function providePopupController(showPopup) {
const injection = {
showPopup
};
provide(POPUP_CONTROLLER_SYMBOL, injection);
return injection;
}
//# sourceMappingURL=providePopupController.js.map