HTML5 Viewer SDK API Documentation 

Namespaces


Class Index

Classes in s7sdk.event

Class s7sdk.event.ResizeEvent

Dispatched when a component or window changes its size. For example, the Container component dispatches a ResizeEvent event when the window changes its size due to window size change or orientation change. In addition, the Container component dispatches this event when entering or leaving full screen mode, also when component is added to or removed from the web page layout. An event handler can access the ResizeEvent object by reading the s7event property from the DOM event.

Class Summary
Constructor Attributes Constructor Name and Description
 
s7sdk.event.ResizeEvent(type, w, h, bubbles)
Field Summary
Field Attributes Field Name and Description
<static>  
s7sdk.event.ResizeEvent.ADDED_TO_LAYOUT
Defines the value of the type property for a addedToLayout event object.
<static>  
s7sdk.event.ResizeEvent.COMPONENT_RESIZE
Defines the value of the type property for a componentResize event object.
<static>  
s7sdk.event.ResizeEvent.FULLSCREEN_RESIZE
Defines the value of the type property for a fullScreenResize event object.
<static>  
s7sdk.event.ResizeEvent.REMOVED_FROM_LAYOUT
Defines the value of the type property for a removedFromLayout event object.
<static>  
s7sdk.event.ResizeEvent.SIZE_MARKER_CHANGE
Defines the value of the type property for a sizeMarkerChange event object.
<static>  
s7sdk.event.ResizeEvent.WINDOW_RESIZE
Defines the value of the type property for a windowResize event object.
Class Detail
s7sdk.event.ResizeEvent(type, w, h, bubbles)
Parameters:
{String} type
Defines the value of the type property.
{String} w
New width.
{Number} h
New height.
{Boolean} bubbles
Defines whether the event should bubble.
See:
s7sdk.common.Container
s7sdk.image.ZoomView
s7sdk.set.SpinView
Field Detail
<static> s7sdk.event.ResizeEvent.ADDED_TO_LAYOUT
Defines the value of the type property for a addedToLayout event object.

<static> s7sdk.event.ResizeEvent.COMPONENT_RESIZE
Defines the value of the type property for a componentResize event object.

<static> s7sdk.event.ResizeEvent.FULLSCREEN_RESIZE
Defines the value of the type property for a fullScreenResize event object.

<static> s7sdk.event.ResizeEvent.REMOVED_FROM_LAYOUT
Defines the value of the type property for a removedFromLayout event object.

<static> s7sdk.event.ResizeEvent.SIZE_MARKER_CHANGE
Defines the value of the type property for a sizeMarkerChange event object.

<static> s7sdk.event.ResizeEvent.WINDOW_RESIZE
Defines the value of the type property for a windowResize event object.

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