HTML5 Viewer SDK API Documentation 

Namespaces


Class Index

Classes in s7sdk.event

Class s7sdk.event.AssetEvent

Dispatched every time a new asset is selected. For example, the Swatches component dispatches an AssetEvent event every time a swatch is selected. An event handler can access the AssetEvent object by reading the s7event property from the DOM event.

Class Summary
Constructor Attributes Constructor Name and Description
 
s7sdk.event.AssetEvent(type, asset, frame, bubbles)
Field Summary
Field Attributes Field Name and Description
 
The ItemDesc that is associated with this frame.
<static> <constant>  
s7sdk.event.AssetEvent.ASSET_CHANGED
Defines a value of the type property of a assetChanged event object.
 
Specifies whether the event should bubble.
 
The index of the frame in the set.
<static> <constant>  
s7sdk.event.AssetEvent.ITEM_SELECTED_EVENT
Defines the value of the type property of a itemSelectedEvent event object.
<static> <constant>  
s7sdk.event.AssetEvent.NOTF_SET_PARSED
Defines a value of the type property of a notfSetParsed event object.
<static> <constant>  
s7sdk.event.AssetEvent.SWATCH_SELECTED_EVENT
Defines the value of the type property of a swatchSelectedEvent event object.
 
The type of the particular event object.
Class Detail
s7sdk.event.AssetEvent(type, asset, frame, bubbles)
Parameters:
{String} type
Defines the value of the type property.
{String} asset
The ItemDesc descriptor that is associated with this frame.
{Number} frame
The index of the frame in the set.
{Boolean} bubbles
Defines whether the event bubbles.
See:
s7sdk.image.ZoomView
s7sdk.set.MediaSet
s7sdk.set.SpinView
s7sdk.set.Swatches
s7sdk.video.VideoPlayer
Field Detail
{ItemDesc} asset
The ItemDesc that is associated with this frame.

<static> <constant> {String} s7sdk.event.AssetEvent.ASSET_CHANGED
Defines a value of the type property of a assetChanged event object.
Default Value:
assetChanged

{Boolean} bubbles
Specifies whether the event should bubble.

{Number} frame
The index of the frame in the set.

<static> <constant> {String} s7sdk.event.AssetEvent.ITEM_SELECTED_EVENT
Defines the value of the type property of a itemSelectedEvent event object.
Default Value:
itemSelectedEvent

<static> <constant> {String} s7sdk.event.AssetEvent.NOTF_SET_PARSED
Defines a value of the type property of a notfSetParsed event object.
Default Value:
notfSetParsed

<static> <constant> {String} s7sdk.event.AssetEvent.SWATCH_SELECTED_EVENT
Defines the value of the type property of a swatchSelectedEvent event object.
Default Value:
swatchSelectedEvent

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

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