[improvement] adjust utils
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { on, off } from '../utils/event';
|
||||
import { on, off } from '../utils/dom/event';
|
||||
|
||||
export function BindEventMixin(handler) {
|
||||
function bind() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { on, off } from '../utils/event';
|
||||
import { on, off } from '../utils/dom/event';
|
||||
|
||||
export const ClickOutsideMixin = config => ({
|
||||
mounted() {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { context } from './context';
|
||||
import { TouchMixin } from '../touch';
|
||||
import { on, off, preventDefault } from '../../utils/event';
|
||||
import { on, off, preventDefault } from '../../utils/dom/event';
|
||||
import { openOverlay, closeOverlay, updateOverlay } from './overlay';
|
||||
import { getScrollEventTarget } from '../../utils/scroll';
|
||||
import { getScrollEventTarget } from '../../utils/dom/scroll';
|
||||
|
||||
export const PopupMixin = {
|
||||
mixins: [TouchMixin],
|
||||
|
||||
Reference in New Issue
Block a user