History handles the history of certain controls (e.g. sap.ui.commons.SearchField).
Creates an instance of the History.
Attention: The Web Storage API which is used by this class stores the data on the client. Therefore do not use this API for confidential information.
new sap.ui.core.History(sId, mSettings?)
Param | Type | Default Value | Description |
---|---|---|---|
sId | string | id for the history |
|
mSettings? | object | optional map/JSON-object with additional settings |
Method | Description |
---|---|
sap.ui.core.History.extend |
Creates a new subclass of class sap.ui.core.History with name
|
sap.ui.core.History.getMetadata |
Returns a metadata object for class sap.ui.core.History. |
Creates a new subclass of class sap.ui.core.History with name sClassName
and enriches it with the information contained in oClassInfo
.
oClassInfo
might contain the same kind of information as described in sap.ui.base.Object.extend.
Param | Type | DefaultValue | Description |
---|---|---|---|
sClassName | string |
Name of the class being created |
|
oClassInfo | object |
Object literal with information about the class |
|
FNMetaImpl | function |
Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class |