Files
prop-data-guard/frontend/node_modules/element-plus/lib/hooks/use-focus/index.js
T
2026-04-22 17:07:33 +08:00

12 lines
284 B
JavaScript

Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
//#region ../../packages/hooks/use-focus/index.ts
const useFocus = (el) => {
return { focus: () => {
el.value?.focus?.();
} };
};
//#endregion
exports.useFocus = useFocus;
//# sourceMappingURL=index.js.map