A ShareMenuPage is a sap.m.semantic.SemanticPage with support for "share" menu in the footer.
Constructor for a new ShareMenuPage
Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject#constructor for a general description of the syntax of the settings object.
new sap.m.semantic.ShareMenuPage(sId?, mSettings?)
Param | Type | Default Value | Description |
---|---|---|---|
sId? | string | id for the new control, generated automatically if no id is given |
|
mSettings? | object | initial settings for the new control |
Name | Type | Default Value | Description |
---|---|---|---|
backgroundDesign | sap.m.PageBackgroundDesign | Standard | Determines the backgound color of the page. For more information, see sap.m.Page#backgroundDesign. |
enableScrolling | boolean | true | Visibility: public |
floatingFooter | boolean | false | Determines whether the floating footer behavior is enabled. If set to |
semanticRuleSet | sap.m.semantic.SemanticRuleSetType | Classic | Declares the type of semantic ruleset that will govern the styling and positioning of semantic content. |
showFooter | boolean | true | Hides or shows the page footer Visibility: public |
showNavButton | boolean | false | Visibility: public |
showSubHeader | boolean | true | Visibility: public |
title | string | See sap.m.Page#title Visibility: public |
|
titleLevel | sap.ui.core.TitleLevel | Auto | Visibility: public |
Default Aggregation:
Name | Cardinality | Type | Description |
---|---|---|---|
_actionSheet | 0..1 | sap.m.ActionSheet |
Wrapped instance of sap.m.ActionSheet |
customShareMenuContent | 0..n | sap.m.Button |
Custom share menu buttons |
Name | Cardinality | Type | Description |
---|---|---|---|
content | 0..n | sap.ui.core.Control | |
customFooterContent | 0..n | sap.m.Button |
Custom footer buttons |
customHeaderContent | 0..n | sap.m.Button |
Custom header buttons |
landmarkInfo | 0..1 | sap.m.PageAccessibleLandmarkInfo |
Accessible landmark settings to be applied to the containers of the If not set, no landmarks will be written. |
subHeader | 0..1 | sap.m.IBar |
Method | Description |
---|---|
addCustomShareMenuContent |
Adds some customShareMenuContent to the aggregation customShareMenuContent. |
destroyCustomShareMenuContent |
Destroys all the customShareMenuContent in the aggregation customShareMenuContent. |
sap.m.semantic.ShareMenuPage.extend |
Creates a new subclass of class sap.m.semantic.ShareMenuPage with name
|
getCustomShareMenuContent |
Gets content of aggregation customShareMenuContent. Custom share menu buttons |
sap.m.semantic.ShareMenuPage.getMetadata |
Returns a metadata object for class sap.m.semantic.ShareMenuPage. |
indexOfCustomShareMenuContent |
Checks for the provided |
insertCustomShareMenuContent |
Inserts a customShareMenuContent into the aggregation customShareMenuContent. |
removeAllCustomShareMenuContent |
Removes all the controls from the aggregation customShareMenuContent. Additionally, it unregisters them from the hosting UIArea. |
removeCustomShareMenuContent |
Removes a customShareMenuContent from the aggregation customShareMenuContent. |