HTML5 Viewer SDK API Documentation 

Namespaces


Class Index

Classes in s7sdk.event

Class s7sdk.event.StatusEvent

This event is sent when internal component state changes as more asset data is loaded the server by the component.

Class Summary
Constructor Attributes Constructor Name and Description
 
s7sdk.event.StatusEvent(type, bubbles)
Field Summary
Field Attributes Field Name and Description
<static> <constant>  
s7sdk.event.StatusEvent.NOTF_ASSET_METADATA_READY
This event is sent when component receives asset metadata.
<static> <constant>  
s7sdk.event.StatusEvent.NOTF_HIGHRES_VIEW_READY
This event is sent when component fills the view with high resolution image.
<static> <constant>  
s7sdk.event.StatusEvent.NOTF_PRELOAD_COMPLETE
This event is sent when all the content according to "preload" logic settings is downloaded.
<static> <constant>  
s7sdk.event.StatusEvent.NOTF_PRELOAD_START
This event is sent when new content begins to download according to "preload" logic settings.
<static> <constant>  
s7sdk.event.StatusEvent.NOTF_VIEW_READY
This event is sent when component fills the view entirely with visual data after an asset is set or user has performed an action which made the previous view incomplete.
Class Detail
s7sdk.event.StatusEvent(type, bubbles)
Parameters:
{String} type
Defines the value of the type property.
{Boolean} bubbles
Defines whether the event bubbles.
See:
s7sdk.image.ZoomView
Field Detail
<static> <constant> {String} s7sdk.event.StatusEvent.NOTF_ASSET_METADATA_READY
This event is sent when component receives asset metadata. If the component is initialized with setItem()/setMediaSet() it dispatches instantly inside that API call. Otherwise if the component loads req=set on its own, this event should be sent when component has received and parsed req=set.

<static> <constant> {String} s7sdk.event.StatusEvent.NOTF_HIGHRES_VIEW_READY
This event is sent when component fills the view with high resolution image. It is sent only once per asset swap, when the view is filled with high resolution image data for the first time after asset was set or changed. This event is not sent later, when user zooms or pans.

<static> <constant> {String} s7sdk.event.StatusEvent.NOTF_PRELOAD_COMPLETE
This event is sent when all the content according to "preload" logic settings is downloaded. May be sent multiple times during component's life cycle as user actions may trigger new preloading step.

<static> <constant> {String} s7sdk.event.StatusEvent.NOTF_PRELOAD_START
This event is sent when new content begins to download according to "preload" logic settings. May be sent multiple times during component's life cycle as user actions may trigger new preloading step.

<static> <constant> {String} s7sdk.event.StatusEvent.NOTF_VIEW_READY
This event is sent when component fills the view entirely with visual data after an asset is set or user has performed an action which made the previous view incomplete. The event is sent only if the view was previously blank (completely or partially).

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