Giter Club home page Giter Club logo

Comments (16)

canadaka avatar canadaka commented on July 29, 2024 3

To get the action buttons to work you must add back these lines to the modified code

else if ($.isFunction(Plugin.prototype[options])) {
                $.data(this, 'plugin_' + pluginName)[options]();
            }

from jtinder.

ssoulless avatar ssoulless commented on July 29, 2024

Thanks this was useful

from jtinder.

igordelorenzi avatar igordelorenzi commented on July 29, 2024

@andresarslanian, thank you so much! Your workaround was useful to me too. If I were the maintainer, I would include your snippet.

from jtinder.

mschoenebeck avatar mschoenebeck commented on July 29, 2024

@andresarslanian thank you for sharing! I tried your changes but somehow it doesn't work here. Could you provide a working example and upload as a tar ball or something? I think the Problem is in my code when I add new items to the list. I just add new <li>-Elements to the innerhtml of the <ul>-tags.. I do that in the onLike callback function.. it seems like this leads to errors with your code. I would really appreciate a working example with code that adds cards dynamically. thank you!

from jtinder.

hirbod avatar hirbod commented on July 29, 2024

Hello everybody,

did someone manage how to add elements dynamically? I'm also trying to add li elements, but It just won't work out

from jtinder.

nilthacker avatar nilthacker commented on July 29, 2024

@andresarslanian Thank you for this! The author should integrate this into the plugin.

from jtinder.

gabrielalberione avatar gabrielalberione commented on July 29, 2024

Thank yo for this!!! You are a genius!!!, hahaha... Thank you a lot...

from jtinder.

canadaka avatar canadaka commented on July 29, 2024

This seems to work for swiping items, but using the action buttons it does not?

from jtinder.

leozengtao avatar leozengtao commented on July 29, 2024

@canadaka Thank you so much

from jtinder.

pnbt avatar pnbt commented on July 29, 2024

Awesome, thanks!

from jtinder.

josef1708 avatar josef1708 commented on July 29, 2024

can i have an example of these...didnt work for me.. pls:D

from jtinder.

boehser avatar boehser commented on July 29, 2024

Also the same like josef. An example would be nice!

from jtinder.

mig1098 avatar mig1098 commented on July 29, 2024

Thanks for advice, work fine...

from jtinder.

bydbest avatar bydbest commented on July 29, 2024

Can anyone share the working example with dynamic image from server on swipe ?

from jtinder.

rafaelmrdyn avatar rafaelmrdyn commented on July 29, 2024

apri axpers

from jtinder.

1ghost1 avatar 1ghost1 commented on July 29, 2024

Heyo, if anyone still cares for the code worked.

I had an issue however(my own mistake) that I was adding to the div and not

    element, make sure you add to UL and then call $(<container_not_ul_ITS_IMPORTANT>).jTinder();

from jtinder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.