Embedded tweets completion event?

痞子三分冷 提交于 2019-12-04 07:45:01

I ended up using a jQuery "watch" plugin (e.g. https://github.com/darcyclarke/jQuery-Watch-Plugin) to watch for DOM changes on the container div.

If you look into the uncompressed code here searching for "render" yields this interesting conditional

    if (this._rendered) {
        var anchor = this.byClass('twtr-join-conv', 'a');
        anchor.href = 'http://twitter.com/' + this._getWidgetPath();
    }

and somewhat lower in the code is

    this._rendered = true;
    // call the ready handler
    this._ready();
    return this;

you might be able to explore...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!