class
SAPO.Widget.Banca
Displays press publication covers. Relies on SAPO services to get a JSON file of known format.
Version:
2.1
Since:
Defined in
Widget/Banca/2.1/lib.js
May 2012
Constructor Summary
Banca
(Object
o)
Constructor Details
constructor Banca
Banca(Object
o)
Parameters:
o
-
String|DOMElement container
container which will get populated by the widget -
[ String jsonURI ]
publications endpoint prefix -
[ String stand ]
publications endpoint suffix *DEPRECATED* -
[ String thumbGenURI ]
URI to transform a regular cover into the desired dimensions -
[ String clickURI ]
URI where the user is transported to on cover click -
[ Number[2] thumbDims ]
conver maximum dimentions (used by thumbGenURI) -
[ String prevLabel ]
HTML markup to display as previous label -
[ String nextLabel ]
HTML markup to display as next label -
[ String|DomElement prevElement ]
dom element or its id -
[ String|DomElement nextElement ]
HTML markup to display as next label -
[ String visibleItems ]
number of publications to display per page -
[ Function(widget, eventType, args) onUserEvent ]
callback method to subscribe user initialted events