Class sap.suite.ui.commons.FeedItemModule: sap/suite/ui/commons/FeedItem
This element represents a news feed item.
Deprecated API:Since version 1.32. Deprecated. Generic Tile should be used instead.
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
- title : string
- image : sap.ui.core.URI
- link : sap.ui.core.URI
- source : string
- publicationDate : object
- Aggregations
- Associations
- Events
In addition, all settings applicable to the base type sap.ui.core.Element 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.32. Deprecated. Generic Tile should be used instead.
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 |
image
. The background image for the feed item. Default value is empty/undefined
{sap.ui.core.URI} | the value of property image |
link
. The target location of the feed item. Default value is empty/undefined
{sap.ui.core.URI} | the value of property link |
publicationDate
. The date the feed was published. Default value is empty/undefined
{object} | the value of property publicationDate |
source
. The source of the feed item. Default value is empty/undefined
{string} | the value of property source |
title
. The title of the feed item. Default value is empty/undefined
{string} | the value of property title |
publicationDate
. Default value is empty/undefined
{object} | oPublicationDate | new value for property publicationDate |
{sap.suite.ui.commons.FeedItem} | this to allow method chaining |
source
. Default value is empty/undefined
{string} | sSource | new value for property source |
{sap.suite.ui.commons.FeedItem} | this to allow method chaining |
title
. Default value is empty/undefined
{string} | sTitle | new value for property title |
{sap.suite.ui.commons.FeedItem} | this to allow method chaining |