@egjs/flicking 4.10.8-beta.1 → 4.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/declaration/Flicking.d.ts +5 -1
- package/declaration/index.cjs.d.ts +3 -0
- package/dist/flicking.cjs.js +8149 -0
- package/dist/flicking.cjs.js.map +1 -0
- package/dist/flicking.esm.js +51 -26
- package/dist/flicking.esm.js.map +1 -1
- package/dist/flicking.js +51 -26
- package/dist/flicking.js.map +1 -1
- package/dist/flicking.min.js +2 -2
- package/dist/flicking.min.js.map +1 -1
- package/dist/flicking.pkgd.js +909 -1392
- package/dist/flicking.pkgd.js.map +1 -1
- package/dist/flicking.pkgd.min.js +2 -2
- package/dist/flicking.pkgd.min.js.map +1 -1
- package/package.json +3 -3
- package/rollup.config.js +6 -0
- package/src/Flicking.ts +21 -0
- package/src/control/AxesController.ts +1 -0
- package/src/index.cjs.ts +14 -0
|
@@ -55,6 +55,7 @@ export interface FlickingOptions {
|
|
|
55
55
|
bounce: number | string | [number | string, number | string];
|
|
56
56
|
iOSEdgeSwipeThreshold: number;
|
|
57
57
|
preventClickOnDrag: boolean;
|
|
58
|
+
preventDefaultOnDrag: boolean;
|
|
58
59
|
disableOnInit: boolean;
|
|
59
60
|
changeOnHold: boolean;
|
|
60
61
|
renderOnlyVisible: boolean;
|
|
@@ -103,6 +104,7 @@ declare class Flicking extends Component<FlickingEvents> {
|
|
|
103
104
|
private _bounce;
|
|
104
105
|
private _iOSEdgeSwipeThreshold;
|
|
105
106
|
private _preventClickOnDrag;
|
|
107
|
+
private _preventDefaultOnDrag;
|
|
106
108
|
private _disableOnInit;
|
|
107
109
|
private _changeOnHold;
|
|
108
110
|
private _renderOnlyVisible;
|
|
@@ -158,6 +160,7 @@ declare class Flicking extends Component<FlickingEvents> {
|
|
|
158
160
|
get bounce(): FlickingOptions["bounce"];
|
|
159
161
|
get iOSEdgeSwipeThreshold(): FlickingOptions["iOSEdgeSwipeThreshold"];
|
|
160
162
|
get preventClickOnDrag(): FlickingOptions["preventClickOnDrag"];
|
|
163
|
+
get preventDefaultOnDrag(): FlickingOptions["preventDefaultOnDrag"];
|
|
161
164
|
get disableOnInit(): FlickingOptions["disableOnInit"];
|
|
162
165
|
get changeOnHold(): FlickingOptions["changeOnHold"];
|
|
163
166
|
get renderOnlyVisible(): FlickingOptions["renderOnlyVisible"];
|
|
@@ -195,12 +198,13 @@ declare class Flicking extends Component<FlickingEvents> {
|
|
|
195
198
|
set bounce(val: FlickingOptions["bounce"]);
|
|
196
199
|
set iOSEdgeSwipeThreshold(val: FlickingOptions["iOSEdgeSwipeThreshold"]);
|
|
197
200
|
set preventClickOnDrag(val: FlickingOptions["preventClickOnDrag"]);
|
|
201
|
+
set preventDefaultOnDrag(val: FlickingOptions["preventDefaultOnDrag"]);
|
|
198
202
|
set disableOnInit(val: FlickingOptions["disableOnInit"]);
|
|
199
203
|
set changeOnHold(val: FlickingOptions["changeOnHold"]);
|
|
200
204
|
set renderOnlyVisible(val: FlickingOptions["renderOnlyVisible"]);
|
|
201
205
|
set autoResize(val: FlickingOptions["autoResize"]);
|
|
202
206
|
set useResizeObserver(val: FlickingOptions["useResizeObserver"]);
|
|
203
|
-
constructor(root: HTMLElement | string, { align, defaultIndex, horizontal, circular, circularFallback, bound, adaptive, panelsPerView, noPanelStyleOverride, resizeOnContentsReady, nested, needPanelThreshold, preventEventsBeforeInit, deceleration, duration, easing, inputType, moveType, threshold, interruptable, bounce, iOSEdgeSwipeThreshold, preventClickOnDrag, disableOnInit, changeOnHold, renderOnlyVisible, virtual, autoInit, autoResize, useResizeObserver, resizeDebounce, maxResizeDebounce, useFractionalSize, externalRenderer, renderExternal }?: Partial<FlickingOptions>);
|
|
207
|
+
constructor(root: HTMLElement | string, { align, defaultIndex, horizontal, circular, circularFallback, bound, adaptive, panelsPerView, noPanelStyleOverride, resizeOnContentsReady, nested, needPanelThreshold, preventEventsBeforeInit, deceleration, duration, easing, inputType, moveType, threshold, interruptable, bounce, iOSEdgeSwipeThreshold, preventClickOnDrag, preventDefaultOnDrag, disableOnInit, changeOnHold, renderOnlyVisible, virtual, autoInit, autoResize, useResizeObserver, resizeDebounce, maxResizeDebounce, useFractionalSize, externalRenderer, renderExternal }?: Partial<FlickingOptions>);
|
|
204
208
|
init(): Promise<void>;
|
|
205
209
|
destroy(): void;
|
|
206
210
|
prev(duration?: number): Promise<void>;
|