HTML5 Viewer SDK API Documentation 

Namespaces


Class Index

Classes in s7sdk.event

Class s7sdk.event.ScrollEvent

Dispatched every time the scroll position has changed. An event handler can access the ScrollEvent object by reading the s7event property from the DOM event.

Class Summary
Constructor Attributes Constructor Name and Description
 
s7sdk.event.ScrollEvent(type, pos, bubbles)
Field Summary
Field Attributes Field Name and Description
 
Specifies whether the event should bubble.
 
New scroll position.
<static> <constant>  
s7sdk.event.ScrollEvent.SCROLL_POSITION_EVENT
Defines the value of the type property of a scrollPositionEvent event object.
 
The type of the particular event object.
Class Detail
s7sdk.event.ScrollEvent(type, pos, bubbles)
Parameters:
{String} type
Defines the value of the type property.
{Number} pos
New scroll position.
{Boolean} bubbles
Defines whether the event bubbles.
Field Detail
{Boolean} bubbles
Specifies whether the event should bubble.

{Number} position
New scroll position.

<static> <constant> {String} s7sdk.event.ScrollEvent.SCROLL_POSITION_EVENT
Defines the value of the type property of a scrollPositionEvent event object. This event is dispatched whenever the scroll position has changed.
Default Value:
scrollPositionEvent

{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)