Comments (5)
Hi,
I'd just like to say that this is closely related to issue #75.
from wallop.
Merged, thanks!
from wallop.
Hello,
Has a destory method been added? I can't see it in the source code.
Cheers
from wallop.
hello, wallop has reset()
method now which should be helpful when adding/removing items dynamically. Otherwise, CSS Media queries should be enough to turn the Slider into a Stacked list of items on mobile view.
from wallop.
Hi! I'd like to revisit this if possible. I think a destroy method would be beneficial, here's my use case:
I'm using wallop in a situation the entire domNode is being replaced via ajax. I can't reset()
because all original bindings have been wiped out, even though the new markup is identical. And with the current approach, I can't reinstantiate, because wallop is caching the current selector and so it throws the 'An instance of Wallop with this selector already exists.'
error.
I'd like to explore either a destroy()
method, or a change in the behaviour so that existing instances can be re-instantiated.
Thanks for a very logical, flexible library :)
from wallop.
Related Issues (20)
- Collaboration HOT 1
- Autostart reset timer HOT 1
- Expose method for updating global variables HOT 4
- How to import it in an angular 2 project? HOT 3
- How about multiple columns? HOT 5
- New modifiers: show & hide HOT 2
- New example: Wallop with Custom Markup HOT 1
- Uncaught (in promise) Error HOT 14
- Wallop is not a constructor HOT 1
- Include main in bower.json too HOT 2
- Wrong behaviour for slider with two slides
- slider autoplay HOT 1
- Which browsers are supported? HOT 1
- Can't resolve 'Wallopโ when building on linux HOT 4
- Problem with absolute positioned items, flexbox and Firefox HOT 3
- equal height slides HOT 4
- All images broken on CodePen examples collection
- .mp4 videos in slide don't work in Chrome HOT 1
- Slide effect in Safari not nice
- Consuta Blancos entre distintas imagenes;
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 wallop.