top

SFIMAGE

** This class will not be supported in 2015.

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


This is the class for Image UI components.

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

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

       $('#div ID').sfImage({ Json type });


Methods

hide

Description
This function hides the image.
Parameters
none
Return■Void
Emulator SupportN
SDK ConstraintNone
Example
$('#image').sfImage({src:'images/samsung.jpg'});
$('#image').sfImage('hide');

show

Description
This function shows the image.
Parameters
none
Return■Void
Emulator SupportN
SDK ConstraintNone
Example
$('#image').sfImage({src:'images/samsung.jpg'});
$('#image').sfImage('show');