top

SFLOADING

** This class will not be supported in 2015.

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


This is the class for Loading UI components.

Add the following line for sfLoading 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 sfLoading class like this :

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


Methods

show

Description
This function shows the sfLoading component and starts its animation.
Parameters
none
Return■Object
  - jQuery object
Emulator SupportN
SDK ConstraintNone
Example
//Show sfLoading component and start its animation

$('#loading').sfLoading('show');

hide

Description
This function hides the sfLoading component and stops its animation.
Parameters
none
Return■Object
  - jQuery object
Emulator SupportN
SDK ConstraintNone
Example
// Hide sfLoading component and stop its animation

$('#loading').sfLoading('hide');