Intercepts input event data for a SAPUI5 target, and interprets the data based on a supported set of gestures.
Method | Description |
---|---|
addHandler |
Adds a viewport event handler to the Loco. |
destroy |
Cleans up, removes all handlers. |
sap.ui.vk.Loco.extend |
Creates a new subclass of class sap.ui.vk.Loco with name
|
sap.ui.vk.Loco.getMetadata |
Returns a metadata object for class sap.ui.vk.Loco. |
removeHandler |
Removes a viewport event handler from Loco. |
Adds a viewport event handler to the Loco.
Param | Type | DefaultValue | Description |
---|---|---|---|
handler | Object |
The event handler to be added. |
|
priority | number |
The priority of the handler. |
Creates a new subclass of class sap.ui.vk.Loco 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.EventProvider.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 |