-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathconfig.js
37 lines (28 loc) · 842 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
export const DEFAULT_INIT_CONFIG = {
initIndex : 0,
initClass : 'ds-init',
activeClass : 'active',
transitionInClass : 'transition-in',
transitionOutClass : 'transition-out',
silent : false,
horizontal : false,
infinite : false,
listenUserMouseWheel : true,
listenUserSwipe : true,
eventElemSelector : null
}
export const DEFAULT_CONFIG = {
duration : 1000,
timingFunction : 'ease',
minInterval : 50,
translate3d : true,
parent : null,
respondToUserEvent : true,
stopPropagation : false
}
export const DATA_DESCRIPTOR = {
enumerable : false,
configurable : false,
writable : false,
value : {}
}