1234567891011121314151617 |
- import '../types.mjs';
- import { isFunction } from '@vue/shared';
- const composeRefs = (...refs) => {
- return (el) => {
- refs.forEach((ref) => {
- if (isFunction(ref)) {
- ref(el);
- } else {
- ref.value = el;
- }
- });
- };
- };
- export { composeRefs };
- //# sourceMappingURL=refs.mjs.map
|