Class: SC.BaseTheme.labelRenderDelegate

Renders and updates DOM representations of a label.

Parameters

Expects these properties on the data source:

  • title

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.

  • icon: should be either a class name or a URL
  • hint: allows the label to display a hint value if its title is empty.
  • escapeHTML: whether the HTML should be escaped to prevent XSS attacks and the like.
  • textAlign
  • needsEllipsis: Whether an ellipsis (...) should be added after the title if the title is too long.

Defined in: label.js

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