Module: alfresco/forms/controls/utilities/IconMixin

alfresco/forms/controls/utilities/IconMixin

This mixin provides the ability to add a new icon within a form control. It was originally created to add a search icon for the faceted search page in Share.
Author:
  • Dave Draper
License:
Source:

Members

cssRequirements :object[]

An array of the CSS files to use with this widget.
Type:
  • object[]
Default Value:
  • [{cssFile:"./css/IconMixin.css"}]
Source:

Methods

addIcon(control)

Adds an icon into the widget.
Parameters:
Name Type Description
control object The form control to manipulate
Source: