Comments (16)
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.
Thanks this was useful
from jtinder.
@andresarslanian, thank you so much! Your workaround was useful to me too. If I were the maintainer, I would include your snippet.
from jtinder.
@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.
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.
@andresarslanian Thank you for this! The author should integrate this into the plugin.
from jtinder.
Thank yo for this!!! You are a genius!!!, hahaha... Thank you a lot...
from jtinder.
This seems to work for swiping items, but using the action buttons it does not?
from jtinder.
@canadaka Thank you so much
from jtinder.
Awesome, thanks!
from jtinder.
can i have an example of these...didnt work for me.. pls:D
from jtinder.
Also the same like josef. An example would be nice!
from jtinder.
Thanks for advice, work fine...
from jtinder.
Can anyone share the working example with dynamic image from server on swipe ?
from jtinder.
apri axpers
from jtinder.
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)
- Rotation depending on number of slides HOT 1
- Interactive elements within each slide
- jTinder buttons HOT 1
- Implementation in Angularjs HOT 2
- Save to database HOT 3
- Destroying and reinitializing a new JTinder instance HOT 1
- Restart the slide from first HOT 3
- can i make any element clickable inside jtinder li element? HOT 3
- how to dynamically update the images
- How to Undo Swipe? HOT 5
- Dynamic Html HOT 7
- add sidebar
- Images responsive
- Not an Issue
- I want to display perticular card
- Destroy method for the plugin HOT 7
- Mobile firefox bug?
- NPM module HOT 2
- How does create superlike?
- Swipe on left and right
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jtinder.