Module: modules/Items

Classes

Items

Type Definitions

Item

An item configuration that contains data required for DOM interactions.

Type:
  • Object
Properties:
Name Type Description
presentationName string

The item name to be displayed in log entries.

domElementId string

The item's DOM element id attribute.

startSpawnTimeSeconds number

The time at which the event listener delegatee will begin accepting click events when a new session is started. Defining a non-zero value results in the item's event listener delegatee initially ignoring clicks until the item's spawn interval has elapsed.

spawnIntervalSeconds number

The interval—in seconds—for which the item's event listener delegatee ignores click events after it has accepted a click event.

spawnTimeSeconds number

The time—in session seconds—at which the item will begin accepting clicks events.

backgroundColorClass string

The name of a CSS class that defines a background color.

backgroundImageClass string

The name of a CSS class that defines a background image.

Source: