Skip to content

Commit

Permalink
Update swipe.js
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Oct 11, 2021
1 parent 1e5c046 commit 8d8857b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/src/util/swipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ const POINTER_TYPE_TOUCH = 'touch'
const POINTER_TYPE_PEN = 'pen'
const CLASS_NAME_POINTER_EVENT = 'pointer-event'
const SWIPE_THRESHOLD = 40
const NAME = 'swipe'

const Default = {
leftCallback: null,
rightCallback: null,
endCallback: null
}

const DefaultType = {
leftCallback: '(function|null)',
rightCallback: '(function|null)',
endCallback: '(function|null)'
}

const NAME = 'swipe'

class Swipe {
constructor(element, config) {
this._element = element
Expand Down

0 comments on commit 8d8857b

Please sign in to comment.