HTML5 Viewer SDK API Documentation 

Namespaces


Class Index

Classes in s7sdk.event

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.

Class Summary
Constructor Attributes Constructor Name and Description
 
s7sdk.event.InteractiveSwatchesEvent(type, data, bubbles, bubbles)
Field Summary
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
See:
s7sdk.set.InteractiveSwatches
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.

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Oct 15 2020 11:59:11 GMT-0000 (UTC)