Class sap.ui.vk.LocoModule: sap/ui/vk/Loco
Intercepts input event data for a SAPUI5 target, and interprets the data based on a supported set of gestures.
Experimental API:Since 1.32.0 This class is experimental and might be modified or removed in future versions.
Constructor Summary
Method Summary
sap.ui.vk.Loco.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.vk.Loco with name
sClassName
and enriches it with the information contained in oClassInfo
. Method Detail
sap.ui.vk.Loco.extend(sClassName, oClassInfo?, FNMetaImpl?): function
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.core.EventProvider.extend.
Parameters:
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
Returns:
{function} | Created class / constructor function |
sap.ui.vk.Loco.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.vk.Loco.
Returns:
{sap.ui.base.Metadata} | Metadata object describing this class |
addHandler(handler)
Adds a viewport event handler from Loco.
Parameters:
{handler} | handler | to be added. |
beginGesture(JSON)
Signal begin of a input gesture.
Parameters:
{event} | JSON | object including input event data. |
contextMenu(JSON)
Signal context menu event.
Parameters:
{event} | JSON | object including input event data |
endGesture(JSON)
Signal end of a input gesture.
Parameters:
{event} | JSON | object including input event data. |