Open realyze opened 7 years ago
I want to re-initialize the carousel on resize to make sure it looks OK. But since carousel trigger resize on window, that creates a loop.
resize
So:
Thanks!
Please provide a codepen and fill out the issue template.
I also have same issue. Is there any way to re-initialize carousel?
@sanatankc Materialize 1.0.0-alpha.1 has a destroy method for all components.
destroy
I want to re-initialize the carousel on
resize
to make sure it looks OK. But since carousel triggerresize
on window, that creates a loop.So:
resize
event?Thanks!