[英]Using tinyscrollbar meteor package
With the following code: 使用以下代码:
Template.home.rendered = function() {
$("#newsfeed").tinyscrollbar();
};
calling the plugin from this meteor packaging of tinyscrollbar 从tinyscrollbar的流星包装中调用插件
I get the following exception: 我得到以下异常:
Exception from Deps afterFlush function
function: TypeError: Cannot read property 'offsetHeight' of undefined
at Scrollbar.update
(a full trace is at this pastebin ) (完整的痕迹在此pastebin上 )
I will be happy to provide more information as needed! 我很乐意根据需要提供更多信息!
您是否已将所有必需的html添加到页面中?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.