@egjs/flicking
Advanced tools
Comparing version 4.6.3 to 4.7.0
@@ -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; |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3755044
143
36989
1
+ Added@cfcs/core@0.1.0(transitive)
+ Added@egjs/axes@3.9.1(transitive)
- Removed@egjs/axes@2.8.0(transitive)
- Removed@egjs/component@2.2.2(transitive)
- Removed@egjs/hammerjs@2.0.17(transitive)
- Removed@types/hammerjs@2.0.46(transitive)
Updated@egjs/axes@^3.1.2