class SAPO.Widget.NewsSlide
Widget to show the latest headlines on a SimpleSlide
requires SAPO.Widget.SimpleSlide 2.1
requires SAPO.Communication.Syndication
Defined in Widget/NewsSlide/0.1/lib.js

Constructor Summary
prototype ([Object options])
Widget constructor

Function Summary
debug()
debug stuff
init()
constructor alias

Constructor Details

constructor prototype

prototype([Object options])
Widget constructor
Parameters:
[options]
  • [ String channel ] - feed channel
  • [ String target ] - DOM Element that will contain the widget
  • [ Boolean showImage ] - display thumbnail from the News
  • [ Number numItems ] - number of news to display
  • [ String jsonUrl ] - feed url
  • [ String cssURI ] - css url
  • [ String thumbsUrl ] - url to generate the thumbs
  • [ String noThumbUrl ] - image to display when no image is associated to the news
  • [ Number thumbWidth ] - thumb width
  • [ Number thumbHeight ] - thumb height
  • [ Number reload ] - minutes interval to reload the widget

Function Details

function debug

debug()
debug stuff

function init

init()
constructor alias