@egjs/react-flicking
Advanced tools
Comparing version 0.0.2 to 0.0.3-rc
@@ -135,2 +135,11 @@ 'use strict'; | ||
panel.$list = Array.prototype.slice.call(flicking.$container.children); | ||
panel.count = panel.$list.length; | ||
panel.origCount = panel.count; | ||
if (this.props.circular) { | ||
flicking._arrangePanels(); | ||
flicking._movePanelPosition(panel.no - panel.index, true); | ||
} | ||
panel.$list.forEach(function (el) { | ||
@@ -144,4 +153,2 @@ if (hasClass(el, className)) { | ||
}); | ||
panel.count = panel.$list.length; | ||
panel.origCount = panel.count; | ||
@@ -148,0 +155,0 @@ flicking._applyPanelsPos(); |
@@ -129,2 +129,11 @@ import NativeFlicking from '@egjs/flicking'; | ||
panel.$list = Array.prototype.slice.call(flicking.$container.children); | ||
panel.count = panel.$list.length; | ||
panel.origCount = panel.count; | ||
if (this.props.circular) { | ||
flicking._arrangePanels(); | ||
flicking._movePanelPosition(panel.no - panel.index, true); | ||
} | ||
panel.$list.forEach(function (el) { | ||
@@ -138,4 +147,2 @@ if (hasClass(el, className)) { | ||
}); | ||
panel.count = panel.$list.length; | ||
panel.origCount = panel.count; | ||
@@ -142,0 +149,0 @@ flicking._applyPanelsPos(); |
{ | ||
"name": "@egjs/react-flicking", | ||
"version": "0.0.2", | ||
"version": "0.0.3-rc", | ||
"main": "dist/flicking.cjs.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/flicking.esm.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
343383
1382