Closed Dan9boi closed 5 years ago
From ½ year ago the novicell.slider.js-fil looked like this. Maybe we still need the custom arrow?
novicell.slider.js
'use strict'; /** * @name Novicell Slider * @desc Slider, for custom arrow use https://flickity.metafizzy.co/options.html#arrowshape * @author Emil Ankersen (EAN) * @requires https://flickity.metafizzy.co/ */ var novicell = novicell || {}; novicell.slider = novicell.slider || new function () { this.init = function () { const elem = document.querySelector('.js-slider'); if (elem && elem != null) { let flkty = new Flickity(elem, { // options cellAlign: 'left', contain: true, wrapAround: true, arrowShape: 'M0.5,28.8L30,0.5c0.7-0.7,1.8-0.7,2.5,0s0.7,1.7,0,2.4L4.3,30l28.2,27.1c0.7,0.7,0.7,1.7,0,2.4c-0.3,0.3-0.8,0.5-1.2,0.5s-0.9-0.2-1.2-0.5L0.5,31.2C-0.2,30.5-0.2,29.5,0.5,28.8z' }); } }; }();
@MKAndersen what's up with this one?
closing due to #289
From ½ year ago the
novicell.slider.js
-fil looked like this. Maybe we still need the custom arrow?