javascript - OWL Carousel afterMove get img alt -
How can I display image alt (in the div) alt alt after every move? I try this, but it is not working (I always get alt first)
Thank you for your help ...
Try this:
. Later: function (amm) {var current = this.currentItem; Var alt = elem.find ("Item"). Eq (current) .find ("img"). Et '(' alt '); Console.log ('Imagem is current' alt); }
Comments
Post a Comment