refactor(utils): reorganize some chunks

This commit is contained in:
Manu Mtz.-Almeida
2018-12-28 18:54:08 +01:00
committed by Manu MA
parent ca9ec3e18a
commit f9483a0c13
22 changed files with 41 additions and 118 deletions

View File

@ -1,7 +1,7 @@
import { Component, ComponentInterface, Element, Prop, QueueApi } from '@stencil/core';
import { Gesture, GestureDetail, Mode, PickerColumn } from '../../interface';
import { hapticSelectionChanged } from '../../utils';
import { hapticSelectionChanged } from '../../utils/haptic';
import { clamp } from '../../utils/helpers';
@Component({
@ -58,7 +58,7 @@ export class PickerColumnCmp implements ComponentInterface {
this.refresh();
this.gesture = (await import('../../utils/gesture/gesture')).createGesture({
this.gesture = (await import('../../utils/gesture')).createGesture({
el: this.el,
queue: this.queue,
gestureName: 'picker-swipe',