Open DeanMarkTaylor opened 11 years ago
The Twitter Web Intents JavaScript API specifically mentions the following call for Re-evaluating content: twttr.widgets.load();
twttr.widgets.load();
This is currently being used.
However more recently a parameter can now be passed to twttr.widgets.load();.
The specific comment by Twitter employee André Pinter (14 weeks and 1 day ago) on the discussion Cannot update tweet button with Ajax:
twttr.widgets.load now takes an optional root HTMLElement argument. You can start using this now!
twttr.widgets.load
Hopefully there is some performance gain from this.
Cheers, Dean.
Dean,
Appreciate you pointing that out! I'll see if I can get this into the next release. If you'd like to contribute don't hesitate to submit a pull request.
The Twitter Web Intents JavaScript API specifically mentions the following call for Re-evaluating content:
twttr.widgets.load();
This is currently being used.
However more recently a parameter can now be passed to
twttr.widgets.load();
.The specific comment by Twitter employee André Pinter (14 weeks and 1 day ago) on the discussion Cannot update tweet button with Ajax:
Hopefully there is some performance gain from this.
Cheers, Dean.