Class sap.m.SuggestionItemModule: sap/m/SuggestionItem
Display suggestion list items.
Since: 1.34.
sClassName
and enriches it with the information contained in oClassInfo
. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
- Properties
- icon : string (default: )
- description : string (default: )
In addition, all settings applicable to the base type sap.ui.core.Item can be used as well.
{string} | sId? | ID for the new control, generated automatically if no ID is given |
{object} | mSettings? | Initial settings for the new control |
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.ui.core.Item.extend.
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
description
. Additional text of type string, optionally to be displayed along with this item.
Default value is .
{string} | Value of property description |
icon
. The icon belonging to this list item instance. This can be an URI to an image or an icon font URI.
Default value is .
{string} | Value of property icon |
text
property. Subclasses may override this function.
{string} | suggestion text. |
Subclasses may override this function.
{sap.ui.core.RenderManager} | oRenderManager | The RenderManager |
{sap.m.SuggestionItem} | oItem | The item which should be rendered |
{string} | sSearch | The search text that should be emphasized |
{boolean} | bSelected | The item is selected |
description
. Additional text of type string, optionally to be displayed along with this item.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is .
{string} | sDescription | New value for property description |
{sap.m.SuggestionItem} | Reference to this in order to allow method chaining |
icon
. The icon belonging to this list item instance. This can be an URI to an image or an icon font URI.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is .
{string} | sIcon | New value for property icon |
{sap.m.SuggestionItem} | Reference to this in order to allow method chaining |