Class: SC.BaseTheme.imageRenderDelegate

Renders and updates DOM representations of an image.

Parameters

Expects these properties on the data source:

  • image: An Image object which has completed loading

If any of these are not present in the data source, the render delegate will throw an error.

Optional Parameters:

If present, these properties will be used.

  • imageValue: A String which represents the src or CSS class of the image
  • displayToolTip: A String which is rendered as a toolTip on the element
  • type: The type of image being rendered. One of: - SC.IMAGE_TYPE_NONE - SC.IMAGE_TYPE_URL - SC.IMAGE_TYPE_CSS_CLASS If not provided, SC.IMAGE_TYPE_URL is the default

Defined in: image.js

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 08 2015 10:02:20 GMT-0600 (CST)