top

SFSCROLL

** This class will not be supported in 2015.

   All functionalities of sfScroll class are more improved, integrating with CAPH. Therefore sfScroll class is not supported since 2015 Smart TV. To use functions of sfScroll class, refer to here.


This is the class for Scroll UI components.

Add the following line for sfScroll class into a html file your own :

  script type="text/javascript" src="$MANAGER_WIDGET/Common/af/2.0.0/loader.js">/script>

You can declare sfScroll class like this :

  ex) $('#div ID').sfScroll('method Name', parm1, parm2);


Methods

move

Description
This function moves scroll to the requested value.
Parameters
■pageIndex 
  - Number 
  - Page number to go to .
Return■Object
  - jQuery object
Emulator SupportN
SDK ConstraintNone
Example
$('#scroll1').sfScroll('move',this.idx1=1);

next

Description
This function increases scroll value.
Parameters
none
Return■Object
  - jQuery object
Emulator SupportN
SDK ConstraintNone
Example
$('#scroll1').sfScroll('next');

prev

Description
This function decreases scroll value.
Parameters
none
Return■Object
  - jQuery object
Emulator SupportN
SDK ConstraintNone
Example
$('#scroll2').sfScroll('prev');

hide

Description
This function hides the Scroll component.
Parameters
none
Return■Void
Emulator SupportN
SDK ConstraintNone
Example
$('#scroll1').sfScroll('hide');

show

Description
This function shows the Scroll component.
Parameters
none
Return■Void
Emulator SupportN
SDK ConstraintNone
Example
$('#scroll1').sfScroll('show');