forked from fdzcxy212206413/gsl_grs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
235 B
12 lines
235 B
1 month ago
|
const useFocus = (el) => {
|
||
|
return {
|
||
|
focus: () => {
|
||
|
var _a, _b;
|
||
|
(_b = (_a = el.value) == null ? void 0 : _a.focus) == null ? void 0 : _b.call(_a);
|
||
|
}
|
||
|
};
|
||
|
};
|
||
|
|
||
|
export { useFocus };
|
||
|
//# sourceMappingURL=index.mjs.map
|