Optional options: Partial<CbnInfiniteViewerOptions>Private _viewerDefine a custom action which is executed after the pan.
Define a custom action which is executed after the zoom.
Define a custom action which is executed on pan.
Private _cbnPrivate _cbnPrivate _createPrivate _disablePrivate _disablePrivate _getAutomatically center the viewport based on the viewport content. Behavior can be customized using the margin value (space arround the content) and the animationDuration (how long the centerViewport will take)
optional (default: 1)
optional (default: 0)
Creates a new InfiniteViewer instance. Provide the viewer container element and optionaly provide options for the viewer.
The viewer container needs to be able to receive key events for disabling panning by keyboard. (e.g. you can achieve this by setting the "tabindex" property)