top

Loading Image

Published 2014-10-28 | (Compatible with SDK 2.5,3.5,4.5,5.0,5.1 and 2011,2012,2013,2014 models)

Instructions for using Loading Image visual component.

** This class will not be supported in 2015.

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

 

The Loading Image component is used when a task is loading or getting ready to be displayed on the screen. Ensure that the component is used at the appropriate time and for the appropriate duration. For example, in a video stream application, you can use this component along with the timer functions in JavaScript only when there are pauses in streaming.

 

Figure. Loading Image component

Syntax $.fn.sfLoading  = function(options)
Parameter options - show, hide
Value
  • show - Shows loading object

    Example

    $('#loading').sfLoading('show');
    
  • hide - Hides loading object

    Example

    $('#loading').sfLoading('hide');
    
Properties
  • ID - Component ID
  • Margins Left and Top - Component position on the screen.

Figure. Loading Image properties box

To see the Loading Image component, call the show function.