Namespace: keyotiTemplateUtility

keyotiTemplateUtility

Singleton that helps with templating.

Members

(static) convertDataAttributeInTemplate :Boolean

Whether to convert data-* style attributes in template elements to *
Type:
  • Boolean

Methods

(static) formatCustomData()

When overridden can be used to format how CustomData value's appear in the search results. This function implementation only returns 'value'.

(static) getDisplayClass()

Returns a string equal to customDataDictionaryItemName+"NoContent" if 'value' has zero length, otherwise returns customDataDictionaryItemName+"Content". This can be overridden with custom logic to return CSS class names based on Custom Data field content

(static) readTemplate()

Reads the inner HTML template that may be specified for templatable Controls.