class sap.ui.vk.Loco

Control sample: sap.ui.vk.Loco
Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/vk/Loco
Application Component: CA-UI5-VTK

Intercepts input event data for a SAPUI5 target, and interprets the data based on a supported set of gestures.


Constructor

Constructor for a new Loco.

new sap.ui.vk.Loco()

Methods Overview

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 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.

sap.ui.vk.Loco.getMetadata

Returns a metadata object for class sap.ui.vk.Loco.

removeHandler

Removes a viewport event handler from Loco.

addHandler

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.

destroy

Cleans up, removes all handlers.

sap.ui.vk.Loco.extend

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

sap.ui.vk.Loco.getMetadata

Returns a metadata object for class sap.ui.vk.Loco.

removeHandler

Removes a viewport event handler from Loco.

Param Type DefaultValue Description
handler Object

to be removed.