F
F
fantastikgodd2021-04-02 14:16:21
JavaScript
fantastikgodd, 2021-04-02 14:16:21

How to put instead of numbers (0, 1) the value from the date attribute (pictures)?

on which the slides are changing

customPaging: function(slider, i) {
      return `<div><img src="значение из дата-атрибута"> </div>`;
    },

attribute in item - data-bg

https://jsfiddle.net/kagr8mt4/3/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaliy Pershin, 2021-04-02
@fantastikgodd

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question