Public Method Items API

eventsApp()

Obtains the application instance for the Events API.

You would want to use this method so that you can access the methods for Events API.

Examples

var eventsApp = itemsApp.eventsApp();
console.log(eventsApp);

Arguments

None.

Return value

object

An instance of the eventsApp.

Caveats

Important Events API must be enabled on your consumer for this to work.

This method only works when the rendering_type initialization option is set to "assess" and also the events initialization option is set to true.

Related articles

Was this article helpful?