Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More β†’
Socket
Sign inDemoInstall
Socket

@egjs/flicking

Package Overview
Dependencies
Maintainers
9
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@egjs/flicking - npm Package Compare versions

Comparing version 4.6.3 to 4.7.0

6

declaration/Flicking.d.ts

@@ -45,2 +45,3 @@ import Component from "@egjs/component";

resizeOnContentsReady: boolean;
nested: boolean;
needPanelThreshold: number;

@@ -91,2 +92,3 @@ preventEventsBeforeInit: boolean;

private _virtual;
private _nested;
private _needPanelThreshold;

@@ -144,2 +146,3 @@ private _preventEventsBeforeInit;

get resizeOnContentsReady(): FlickingOptions["resizeOnContentsReady"];
get nested(): FlickingOptions["nested"];
get needPanelThreshold(): FlickingOptions["needPanelThreshold"];

@@ -179,2 +182,3 @@ get preventEventsBeforeInit(): FlickingOptions["preventEventsBeforeInit"];

set resizeOnContentsReady(val: FlickingOptions["resizeOnContentsReady"]);
set nested(val: FlickingOptions["nested"]);
set needPanelThreshold(val: FlickingOptions["needPanelThreshold"]);

@@ -196,3 +200,3 @@ set preventEventsBeforeInit(val: FlickingOptions["preventEventsBeforeInit"]);

set useResizeObserver(val: FlickingOptions["useResizeObserver"]);
constructor(root: HTMLElement | string, { align, defaultIndex, horizontal, circular, circularFallback, bound, adaptive, panelsPerView, noPanelStyleOverride, resizeOnContentsReady, needPanelThreshold, preventEventsBeforeInit, deceleration, duration, easing, inputType, moveType, threshold, interruptable, bounce, iOSEdgeSwipeThreshold, preventClickOnDrag, disableOnInit, renderOnlyVisible, virtual, autoInit, autoResize, useResizeObserver, resizeDebounce, maxResizeDebounce, externalRenderer, renderExternal }?: Partial<FlickingOptions>);
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, renderOnlyVisible, virtual, autoInit, autoResize, useResizeObserver, resizeDebounce, maxResizeDebounce, externalRenderer, renderExternal }?: Partial<FlickingOptions>);
init(): Promise<void>;

@@ -199,0 +203,0 @@ destroy(): void;

5

package.json
{
"name": "@egjs/flicking",
"version": "4.6.3",
"version": "4.7.0",
"description": "Everyday 30 million people experience. It's reliable, flexible and extendable carousel.",

@@ -36,2 +36,3 @@ "main": "dist/flicking.js",

"demo:deploy": "npm run docs:release && npm run build && npm run demo:prebuild-version && npm run demo:prebuild-latest && gh-pages -d docs/build/ --add --remote upstream",
"demo:deploy-origin": "npm run docs:release && npm run build && npm run demo:prebuild-version && npm run demo:prebuild-latest && gh-pages -d docs/build/ --add --remote origin",
"release": "release-helper upstream",

@@ -139,3 +140,3 @@ "changelog": "node ./config/changelog.js",

"dependencies": {
"@egjs/axes": "^2.8.0",
"@egjs/axes": "^3.1.2",
"@egjs/component": "^3.0.1",

@@ -142,0 +143,0 @@ "@egjs/imready": "^1.1.3",

@@ -89,3 +89,3 @@ /*

*/
public get enabled() { return this._panInput?.isEnable() ?? false; }
public get enabled() { return this._panInput?.isEnabled() ?? false; }
/**

@@ -138,2 +138,3 @@ * Current position value in {@link https://naver.github.io/egjs-axes/release/latest/doc/eg.Axes.html Axes} instance

interruptable: flicking.interruptable,
nested: flicking.nested,
easing: flicking.easing

@@ -225,3 +226,3 @@ });

axes.axm.set({ [AXES.POSITION_KEY]: controlParams.position });
axes.axisManager.set({ [AXES.POSITION_KEY]: controlParams.position });

@@ -337,3 +338,3 @@ return this;

axes.axm.set({ [AXES.POSITION_KEY]: newPos });
axes.axisManager.set({ [AXES.POSITION_KEY]: newPos });

@@ -340,0 +341,0 @@ return Promise.resolve();

@@ -61,2 +61,3 @@ /*

resizeOnContentsReady: boolean;
nested: boolean;

@@ -140,2 +141,3 @@ // EVENT

private _virtual: FlickingOptions["virtual"];
private _nested: FlickingOptions["nested"];

@@ -418,2 +420,11 @@ private _needPanelThreshold: FlickingOptions["needPanelThreshold"];

public get resizeOnContentsReady() { return this._resizeOnContentsReady; }
/**
* If you enable this option on child Flicking when the Flicking is placed inside the Flicking, the parent Flicking will move in the same direction after the child Flicking reaches the first/last panel.
* If the parent Flicking and child Flicking have different horizontal option, you do not need to set this option.
* @ko Flicking 내뢀에 Flicking이 배치될 λ•Œ ν•˜μœ„ Flickingμ—μ„œ 이 μ˜΅μ…˜μ„ ν™œμ„±ν™”ν•˜λ©΄ ν•˜μœ„ Flicking이 첫/λ§ˆμ§€λ§‰ νŒ¨λ„μ— λ„λ‹¬ν•œ λ’€λΆ€ν„° 같은 λ°©ν–₯으둜 μƒμœ„ Flicking이 μ›€μ§μž…λ‹ˆλ‹€.
* λ§Œμ•½ μƒμœ„ Flickingκ³Ό ν•˜μœ„ Flicking이 μ„œλ‘œ λ‹€λ₯Έ horizontal μ˜΅μ…˜μ„ 가지고 μžˆλ‹€λ©΄ 이 μ˜΅μ…˜μ„ μ„€μ •ν•  ν•„μš”κ°€ μ—†μŠ΅λ‹ˆλ‹€.
* @type {boolean}
* @default false
*/
public get nested() { return this._nested; }
// EVENTS

@@ -683,2 +694,3 @@ /**

public set resizeOnContentsReady(val: FlickingOptions["resizeOnContentsReady"]) { this._resizeOnContentsReady = val; }
public set nested(val: FlickingOptions["nested"]) { this._nested = val; }
// EVENTS

@@ -775,2 +787,3 @@ public set needPanelThreshold(val: FlickingOptions["needPanelThreshold"]) { this._needPanelThreshold = val; }

resizeOnContentsReady = false,
nested = false,
needPanelThreshold = 0,

@@ -816,2 +829,3 @@ preventEventsBeforeInit = true,

this._resizeOnContentsReady = resizeOnContentsReady;
this._nested = nested;
this._virtual = virtual;

@@ -818,0 +832,0 @@ this._needPanelThreshold = needPanelThreshold;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc