FoxitPDFSDKforWeb v11.0.1
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 | |
![]() | |
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... | |
![]() | |
addDestroyHook (...hooks) | |
Add a function to destroyHooks list, which will be called during destroy. More... | |
destroy () | |
ownsTo (owner) | |
Establishes an ownership relationship where this instance will be destroyed when the owner is destroyed. Additionally, the owner will be automatically removed from the destroyHooks list when this instance is destroyed. More... | |
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 |