sap.collaboration.components.feed.Component.createContent()
The method to create the Content (UI Control Tree) of the Component.
sap.collaboration.components.feed.Component.exit()
Cleans up the component instance before destruction.
sap.collaboration.components.feed.Component.getSelectedGroup(): map
Returns the selected Group.
Returns:
{map} | a map containing information about the selected Group (e.g. Id, Name, etc...) |
sap.collaboration.components.feed.Component.init()
Initializes the Component instance after creation.
sap.collaboration.components.feed.Component.onAfterRendering()
Function is called when the rendering of the Component Container is completed.
sap.collaboration.components.feed.Component.onBeforeRendering()
Function is called when the rendering of the Component Container is started.
sap.collaboration.components.feed.Component.setAxisOrientation(axisOrientation)
Set the axis orientation for the Timeline.
Parameters:
sap.collaboration.components.feed.Component.setEnableScroll(enableScroll)
Sets the enableScroll property for the Timeline.
Parameters:
sap.collaboration.components.feed.Component.setFeedSources(feedSources)
Sets the sources for the feed. Array of strings representing the Jam group IDs (e.g. ["groupid1", "groupid2"]).
Parameters:
sap.collaboration.components.feed.Component.setSettings(settings)
Sets all the properties passed in oSettings.
Parameters:
{map} | settings | key/value map for settings |
Getter for property
axisOrientation
.
Default value is Vertical
Returns:
getEnableScroll(): boolean
Getter for property enableScroll
.
Returns:
{boolean} | the value of property enableScroll |
getFeedSources(): map|string[]
Getter for property feedSources
.
Returns:
{map|string[]} | the value of property feedSources |
Setter for property
axisOrientation
.
Default value is Vertical
Parameters:
Returns:
Setter for property
enableScroll
.
Sets the property enableScroll on the Timeline.
Setting this property to false will remove the scrollbar on the Timeline.
Default value is true
Parameters:
{boolean} | bEnableScroll | new value for property enableScroll |
Returns:
setFeedSources(oFeedSources)
Setter for property
feedSources
.
The feedSources is either an array of strings (SAP Jam Group IDs) or a map in the following structure:
{ mode : sap.collaboration.FeedType, data : any }
Based on the mode, the data is either required or not.
Parameters:
{map|string[]} | oFeedSources | new value for property feedSources |