Class sap.ca.ui.ExpansibleFeedListItemModule: sap/ca/ui/ExpansibleFeedListItem
Extends the FeedListItem to hide text when it is longer than maxLines. When text is hidden a See more link is displayed, clicking on the link displays the entire text.
Deprecated API:Since version 1.24. This control has been made available in sap.m. Please use sap.m.FeedListItem instead! This control will not be supported anymore.
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.
If the name of a setting is ambiguous (e.g. a property has the same name as an event), then the framework assumes property, aggregation, association, event in that order. To override this automatic resolution, one of the prefixes "aggregation:", "association:" or "event:" can be added to the name of the setting (such a prefixed name must be enclosed in single or double quotes).
The supported settings are:
- Properties
- maxLines : int (default: 5)
- Aggregations
- Associations
- Events
In addition, all settings applicable to the base type sap.m.FeedListItem 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 |
- Deprecated:
- Since version 1.24. This control has been made available in sap.m. Please use sap.m.FeedListItem instead! This control will not be supported anymore.
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of informations as described in Element.extend.
{string} | sClassName | name of the class to be created |
{object} | oClassInfo? | object literal with informations about the class |
{function} | FNMetaImpl? | constructor function for the metadata object. If not given, it defaults to sap.ui.core.ElementMetadata. |
{function} | the created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
maxLines
. The maximum number of lines to display before adding the "See more" link. Default value is 5
{int} | the value of property maxLines |
maxLines
. Default value is 5
{int} | iMaxLines | new value for property maxLines |
{sap.ca.ui.ExpansibleFeedListItem} | this to allow method chaining |