HTML5 Viewer SDK API Documentation 

Namespaces


Class Index

Classes in s7sdk.event

Class s7sdk.event.SwatchEvent

Dispatched every time the current page changes. For example, the Swatches component dispatches a SwatchEvent event every time the swatches switch between their logical page. An event handler can access the SwatchEvent object by reading the s7event property from the DOM event.

Class Summary
Constructor Attributes Constructor Name and Description
 
s7sdk.event.SwatchEvent(type, page, bubbles)
Field Summary
Field Attributes Field Name and Description
 
Specifies whether the event should bubble.
 
The Page that is associated with this event.
<static> <constant>  
s7sdk.event.SwatchEvent.SWATCH_PAGE_CHANGE
Defines the value of the type property of a swatchPageChange event object.
 
The type of the particular event object.
Class Detail
s7sdk.event.SwatchEvent(type, page, bubbles)
Parameters:
{String} type
Defines the value of the type property.
{String} page
The current page that the swatches are displaying.
{Boolean} bubbles
Defines whether the event bubbles.
See:
s7sdk.set.Swatches
Field Detail
{Boolean} bubbles
Specifies whether the event should bubble.

{String} page
The Page that is associated with this event.

<static> <constant> {String} s7sdk.event.SwatchEvent.SWATCH_PAGE_CHANGE
Defines the value of the type property of a swatchPageChange event object. This event is dispatched whenever the currently selected page of swatches has changed.
Default Value:
swatchPageChanged

{String} type
The type of the particular event object.

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