a83c0f219d208d117bdbb31cb684a5ffc2ddd14113b276e685e0628a261c760af5f3b8ed3c84a13d8aad2ec9ccf66e598044dc2b03f1e1f0913edb1539229a 293 B

12345678910111213141516
  1. import { isFunction } from '@vue/shared';
  2. const composeRefs = (...refs) => {
  3. return (el) => {
  4. refs.forEach((ref) => {
  5. if (isFunction(ref)) {
  6. ref(el);
  7. } else {
  8. ref.value = el;
  9. }
  10. });
  11. };
  12. };
  13. export { composeRefs };
  14. //# sourceMappingURL=refs.mjs.map