Twitter Search Widget

Dustin Diaz verweist auf einige nicht dokumentierte Features des Twitter Search Widgets.

So there is a features object that you can pass into your constructor. There are currently four of these features.
the features object

new TWTR.Widget({
 id: 'my-element-id',
 ...
 features: {
 hashtags: true,
 timestamp: true,
 avatars: true,
 fullscreen: false
 }
}).render().start();

Albeit mostly self explanatory, they each do this:

  • hashtags: defaults to true. setting to false will hide them.
  • timestamp: defaults to true. setting to false will hide them.
  • avatars: defaults to true for search. and false for profile widget. setting to false will hide them.
  • fullscreen: (I love this feature!) defaults to false. setting to true will give you a full viewport sized widget, perfect for displaying on large screens at events, conferences, etc.

Possibly related posts (automatically generated)