我有一个使用zurb的foundation 5和angularjs 1.2的应用程序。Foundations 5在许多地方使用html5 data-属性。例如在toolbar中。
对于angularjs,这在一起表现得不是很好。基本上,为了让它正常工作,我需要在html改变时调用$(document).foundation();。
我在想,从长远来看,大量使用$(document).foundation();会不会造成问题?当html只有一小部分发生变化时,我可以使用像$("#foo").foundation();这样的东西吗?
非常感谢!
发布于 2014-01-08 01:53:32
https://stackoverflow.com/questions/20292043
复制相似问题