Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var s7BasicZoomViewer = new s7viewers.BasicZoomViewer({
- containerId: 's7viewer-' + iterator,
- params: {
- asset: assetUrl,
- serverurl: serverUrl
- },
- handlers: {
- initComplete: function () {
- var zoomView = s7BasicZoomViewer.getComponent('zoomView')
- // ive tried passing an object
- s7BasicZoomViewer.zoomView.component.zoomstep = { step: 3, limit: 5 } // doesnt work
- // ive tried directly setting it on the "zoomView" just like the docs suggest
- zoomView.zoomstep = 2,5 // doesnt work
- // ive also tried passing it as an object
- zoomView.zoomstep = { step: 3, limit: 5 } // doesnt work
- }
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement