同位素重新布局方法错误,没有这样的方法 [英] Isotope relayout method error, no such a method
本文介绍了同位素重新布局方法错误,没有这样的方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个包含图像的容器。在某个时刻,我需要用新图像替换图像,并且需要重新布置容器。
$('#容器').isotope(' 重新布局');
此方法返回:
没有这样的方法'reLayout'为同位素实例
我做错了什么如果有人遇到像我这样的问题:
他们将方法从'reLayout'重命名为'layout'。
观看他们官方网站上的附录
Sorry if i am not the first, but is the isotope relayout method works? Did they change it or I am doing something wrong?
I have a container with images. At some moment I need to replace images with new images and I need to 'relayout' the container.
$('#container').isotope('reLayout');
This method returns:
no such method 'reLayout' for isotope instance
What am i doing wrong?
解决方案
If somebody meets the problem like I did:
They have renamed the method from 'reLayout' to 'layout'.
Watch Appendix on their official site
这篇关于同位素重新布局方法错误,没有这样的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文