Class s7sdk.event.InteractiveSwatchesEvent
This event is dispatched by the InteractiveSwatches
component to
notify a action taken place due to user selection.
The event data depends on type
.
Constructor Attributes | Constructor Name and Description |
---|---|
s7sdk.event.InteractiveSwatchesEvent(type, data, bubbles, bubbles)
|
Field Attributes | Field Name and Description |
---|---|
<static> |
s7sdk.event.InteractiveSwatchesEvent.NOTF_VISIBLE_INTERACTIVE_SWATCHES
Defines the value of the
type property of the number of visible swatches. |
<static> |
s7sdk.event.InteractiveSwatchesEvent.SWATCH_QUICKVIEW_ACTIVATED
Defines the value of the
type property of a quickViewData event object. |
<static> |
s7sdk.event.InteractiveSwatchesEvent.SWATCH_URL_ACTIVATED
Defines the value of the
type property of a URL event object. |
Class Detail
s7sdk.event.InteractiveSwatchesEvent(type, data, bubbles, bubbles)
- Parameters:
- {String} type
- - Defines the value of the type property.
- {Object} data
- Event data relevant to
type
- {Boolean} bubbles
- - Defines whether the event bubbles.
- bubbles
Field Detail
<static>
s7sdk.event.InteractiveSwatchesEvent.NOTF_VISIBLE_INTERACTIVE_SWATCHES
Defines the value of the
type
property of the number of visible swatches. This event is dispatched by
the InteractiveSwatches upon initialization, orientation change and resizing of the swatches area, etc.
<static>
s7sdk.event.InteractiveSwatchesEvent.SWATCH_QUICKVIEW_ACTIVATED
Defines the value of the
type
property of a quickViewData
event object. This event is
dispatched when given href
points to JSON object representing quick view data of the
InteractiveSwatches
.
<static>
s7sdk.event.InteractiveSwatchesEvent.SWATCH_URL_ACTIVATED
Defines the value of the
type
property of a URL
event object. This event is
dispatched when given href
points to JSON object representing URL data of the
InteractiveSwatches
.