Scroller Menu Manager  1.7.0

BLOBkit Javascript Library > scroller > TVB.scroller
Search:
 
Filters

Class TVB.scroller

Constructor for the Menu Widget

Constructor

TVB.scroller ( config )
Parameters:
config <Object> Configuration object, see user manual for specifications

Methods

blurLine

void blurLine ( line )
Blur a line
Parameters:
line <Integer>
Returns: void

dispose

void dispose ( )
Delete menuContainer and all its content
Returns: void

draw

void draw ( )
Draws both visible and not visible lines into container
Returns: void

drawLine

Object drawLine ( )
Propagate the drawing of a line to config drawLineCB
Returns: Object

enter

void enter ( )
This function must to be called on order to enter in the scroller menu
Returns: void

focusLine

void focusLine ( line )
Set the focus to a line
Parameters:
line <Integer>
Returns: void

navLeft

void navLeft ( )
Propagate the control to the config navLeftCB
Returns: void

navRight

void navRight ( )
Propagate the control to the config navRightCB
Returns: void

seletcLine

void seletcLine ( line )
Select the current line
Parameters:
line <Integer>
Returns: void

setCurrentLine

void setCurrentLine ( line )
Set the focus to the line and center the pagination to its page
Parameters:
line <Integer>
Returns: void

Configuration Attributes

barColor - String default:#333333,


blurLineCB - Function


container - String


drawLineCB - Function


enableChannelUpDown - Boolean default:true,


focusLineCB - Function


navLeftCB - Function


navRightCB - Function


rowHeightPx - String default:33,


rowSelectedColor - String default:#dddddd,


rowWidthPx - String default:200,


scrollerColor - String default:#cccccc,


selectLineCB - Function


total - Integer


visible - Integer

Default Value: 8


Copyright © 2011 TVBLOB S.r.l. All rights reserved. The BLOBkit library is a resource ofBLOBforge.