【发布时间】:2015-05-23 01:36:13
【问题描述】:
我正在处理这个code。
twttr.ready(function (twttr) {
// At this point the widget.js file had been loaded.
// We can now make use of the twttr events
twttr.events.bind('rendered', function (event) {
// At this point the tweet as been fully loaded
// and rendered and you we can proceed with our Javascript
console.log("Created widget", event.target.id);
});
});
不幸的是,'rendered' 事件将为每条推文单独触发,是否有适当的方法在页面上的所有嵌入推文被渲染/显示时得到通知?
【问题讨论】:
标签: javascript jquery twitter tweets