FoxitPDFSDKforWeb
v10.0.0
Foxit PDF SDK for Web
|
A basic class to create custom ScrollWrap with specified element. More...
Static Public Member Functions | |
static | create (wrapperElement) |
Create a subclass of DivScrollWrap with specified element which should be used to render PDFViewer, and the width, height and overflow property of this element must be defined via CSS. More... | |
Additional Inherited Members | |
Public Member Functions inherited from ScrollWrap | |
getHeight () | |
Gets the height of the view. More... | |
getScrollHost () | |
Gets the host of the scroll bar that needs to be listened to for scroll events. . More... | |
getScrollLeft () | |
Viewer's scroll bar left value. More... | |
getScrollOffsetLeft () | |
Viewer relative to the left of the scroll hosts. More... | |
getScrollOffsetTop () | |
Viewer relative to the top of the scroll hosts. More... | |
getScrollTop () | |
Viewer's scroll bar top value. More... | |
getScrollX () | |
Gets the value of the horizontal scroll bar. More... | |
getScrollY () | |
Gets the value of the vertical scroll bar. More... | |
getWidth () | |
Holds the width of the view. More... | |
scrollBy (x, y) | |
Scroll to relative position. More... | |
scrollTo (x, y) | |
Scroll to position. More... | |
Public Member Functions inherited from Disposable | |
addDestroyHook (...hooks) | |
destroy () | |
A basic class to create custom ScrollWrap with specified element.
|
inlinestatic |
Create a subclass of DivScrollWrap with specified element which should be used to render PDFViewer, and the width, height and overflow property of this element must be defined via CSS.
wrapperElement | HTMLElement |