chore: expose utils in entry file

This commit is contained in:
chenjiahan
2020-09-27 17:11:43 +08:00
parent da0d5435de
commit 0072f4fe02
33 changed files with 120 additions and 105 deletions

View File

@@ -1,15 +1,16 @@
import { ref, computed, watch, nextTick } from 'vue';
// Utils
import { createNamespace, isDef } from '../utils';
import { isHidden } from '../utils/dom/style';
import { preventDefault } from '../utils/dom/event';
import {
isDef,
isHidden,
getScrollTop,
getElementTop,
preventDefault,
createNamespace,
getRootScrollTop,
setRootScrollTop,
} from '../utils/dom/scroll';
} from '../utils';
// Composition
import { useScrollParent, useEventListener } from '@vant/use';