spaces removed
This commit is contained in:
parent
c4297a5936
commit
57c3ed3c12
@ -10,8 +10,6 @@ import Foundation
|
|||||||
|
|
||||||
|
|
||||||
@objcMembers public class CarouselItemModel: MoleculeCollectionItemModel, CarouselItemModelProtocol {
|
@objcMembers public class CarouselItemModel: MoleculeCollectionItemModel, CarouselItemModelProtocol {
|
||||||
public var analyticsData: JSONValueDictionary?
|
|
||||||
|
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
// MARK: - Properties
|
// MARK: - Properties
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
@ -22,6 +20,7 @@ import Foundation
|
|||||||
|
|
||||||
public var peakingUI: Bool?
|
public var peakingUI: Bool?
|
||||||
public var peakingArrowColor: Color?
|
public var peakingArrowColor: Color?
|
||||||
|
public var analyticsData: JSONValueDictionary?
|
||||||
|
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
// MARK: - Keys
|
// MARK: - Keys
|
||||||
|
|||||||
@ -165,7 +165,6 @@ open class Carousel: View {
|
|||||||
pageIndex = carouselModel.index
|
pageIndex = carouselModel.index
|
||||||
pagingView?.currentIndex = carouselModel.index
|
pagingView?.currentIndex = carouselModel.index
|
||||||
collectionView.reloadData()
|
collectionView.reloadData()
|
||||||
|
|
||||||
// track analyticsData
|
// track analyticsData
|
||||||
if(!isTrackedAnalytics){
|
if(!isTrackedAnalytics){
|
||||||
trackSwipeActionAnalyticsforIndex(pageIndex)
|
trackSwipeActionAnalyticsforIndex(pageIndex)
|
||||||
@ -305,6 +304,7 @@ open class Carousel: View {
|
|||||||
cell.accessibilityElementsHidden = true
|
cell.accessibilityElementsHidden = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func trackSwipeActionAnalyticsforIndex(_ index : Int){
|
func trackSwipeActionAnalyticsforIndex(_ index : Int){
|
||||||
guard let itemModel = molecules?[index],
|
guard let itemModel = molecules?[index],
|
||||||
let viewControllerObject = delegateObject?.moleculeDelegate as? MVMCoreViewControllerProtocol else { return }
|
let viewControllerObject = delegateObject?.moleculeDelegate as? MVMCoreViewControllerProtocol else { return }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user