1
This commit is contained in:
15
admin/node_modules/element-plus/lib/hooks/use-focus/index.js
generated
vendored
Normal file
15
admin/node_modules/element-plus/lib/hooks/use-focus/index.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
const useFocus = (el) => {
|
||||
return {
|
||||
focus: () => {
|
||||
var _a, _b;
|
||||
(_b = (_a = el.value) == null ? void 0 : _a.focus) == null ? void 0 : _b.call(_a);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
exports.useFocus = useFocus;
|
||||
//# sourceMappingURL=index.js.map
|
||||
Reference in New Issue
Block a user