PATH:
home
/
letacommog
/
letaweb
/
scripts
/
editor
/
modules
define(['module/base', 'module/cameraslider'],function(base,cameraslider) { return createModuleDefinition([base,cameraslider], function($window,$rootScope) { this.initializeData = { column:4, margin:16, settings:{slidesToShow:3,autoplay: true}, images: [{src: window.top.basePath + '/assets/samples/1.jpg',caption:'Enter caption here',description:'Enter description here',link:''}, {src: window.top.basePath + '/assets/samples/2.jpg',caption:'Enter caption here',description:'Enter description here',link:''}, {src: window.top.basePath + '/assets/samples/3.jpg',caption:'Enter caption here',description:'Enter description here',link:''}, {src: window.top.basePath + '/assets/samples/4.jpg',caption:'Enter caption here',description:'Enter description here',link:''}, {src: window.top.basePath + '/assets/samples/5.jpg',caption:'Enter caption here',description:'Enter description here',link:''}, {src: window.top.basePath + '/assets/samples/6.jpg',caption:'Enter caption here',description:'Enter description here',link:''}, {src: window.top.basePath + '/assets/samples/7.jpg',caption:'Enter caption here',description:'Enter description here',link:''}, {src: window.top.basePath + '/assets/samples/8.jpg',caption:'Enter caption here',description:'Enter description here',link:''} ] }; this.controller = function($scope, $moduleInstance) { $scope.onItemChanged = function() { $moduleInstance.module_data = $scope.data; $moduleInstance.loadHtml(); }; $scope.changeSetting = function() { $moduleInstance.module_data = $scope.data; var element = $moduleInstance.getElement(); var slick = jQuery('.carousel', element); for(var i in $moduleInstance.module_data.settings) { if(!$moduleInstance.module_data.settings.hasOwnProperty(i)) continue; slick.slick('slickSetOption', i, $moduleInstance.module_data.settings[i]); slick.slick('slickNext'); } } }; }) });
[+]
..
[-] productlist.js
[edit]
[-] facebookvideo.js
[edit]
[-] newslist.js
[edit]
[-] image.js
[edit]
[-] video.js
[edit]
[-] button.js
[edit]
[-] zone.js
[edit]
[-] text.js
[edit]
[-] newscategory.js
[edit]
[-] googlemap.js
[edit]
[-] base_structure.js
[edit]
[-] contactform.js
[edit]
[-] spacer.js
[edit]
[-] infobox.js
[edit]
[-] html.js
[edit]
[-] testmodule.js
[edit]
[-] facebookcomment.js
[edit]
[-] iframe.js
[edit]
[-] twitterfeed.js
[edit]
[-] recentnews.js
[edit]
[-] audio_player.js
[edit]
[-] slick.js
[edit]
[-] newsdetail.js
[edit]
[-] facebookpost.js
[edit]
[-] pagezone.js
[edit]
[-] panigation.js
[edit]
[-] row.js
[edit]
[-] __custom_module_template.js
[edit]
[-] carousel.js
[edit]
[-] icon.js
[edit]
[-] typedtext.js
[edit]
[-] newscomment.js
[edit]
[-] box.js
[edit]
[-] base_custom.js
[edit]
[-] wordpress.js
[edit]
[-] base.js
[edit]
[-] column.js
[edit]
[-] fancytext.js
[edit]
[-] recentproduct.js
[edit]
[-] statcounter.js
[edit]
[-] tab.js
[edit]
[-] bootstrap_slider.js
[edit]
[-] ihover.js
[edit]
[-] line.js
[edit]
[-] blogger.js
[edit]
[-] slideshow.js
[edit]
[-] title.js
[edit]
[-] facebookpage.js
[edit]
[-] share_buttons.js
[edit]
[-] facebooklike.js
[edit]
[-] infobanner.js
[edit]
[-] rssfeed.js
[edit]
[-] flash.js
[edit]
[-] countdown.js
[edit]
[-] facebooksend.js
[edit]
[-] mailchimp.js
[edit]
[-] infotable.js
[edit]
[-] navbar.js
[edit]
[-] cycleslider.js
[edit]
[-] modal.js
[edit]
[-] embed.js
[edit]
[-] alert.js
[edit]
[-] progress_bar.js
[edit]
[-] accordion.js
[edit]
[-] youtube.js
[edit]
[-] social_buttons.js
[edit]
[-] productcategory.js
[edit]
[-] menu.js
[edit]
[-] pricetable.js
[edit]
[-] productdetail.js
[edit]
[-] gallery.js
[edit]