2018-01-15 23:40:59 +00:00
|
|
|
export default {
|
2018-01-09 23:57:25 +00:00
|
|
|
'zoomEnabled': { type: Boolean, default: true },
|
|
|
|
'controlIconsEnabled': { type: Boolean, default: false },
|
|
|
|
'fit': { type: Boolean, default: true },
|
|
|
|
'panEnabled': { type: Boolean, default: true },
|
|
|
|
'dblClickZoomEnabled': { type: Boolean, default: true },
|
|
|
|
'mouseWheelZoomEnabled': { type: Boolean, default: true },
|
|
|
|
'preventMouseEventsDefault': { type: Boolean, default: true },
|
|
|
|
'contain': { type: Boolean, default: false },
|
|
|
|
'center': { type: Boolean, default: true },
|
|
|
|
viewportSelector: { default: '.svg-pan-zoom_viewport' }
|
|
|
|
, zoomScaleSensitivity: { default: 0.2}
|
|
|
|
, minZoom: { default: 0.5}
|
|
|
|
, maxZoom: { default: 10}
|
|
|
|
, refreshRate: { default: 'auto'}
|
|
|
|
, beforeZoom: { }
|
|
|
|
, onZoom: { }
|
|
|
|
, beforePan: { }
|
|
|
|
, onPan: { }
|
|
|
|
, onUpdatedCTM: { }
|
|
|
|
, customEventsHandler: { }
|
2019-04-25 15:55:02 +00:00
|
|
|
, eventsListenerElement: { },
|
|
|
|
onThumbnailShown: { },
|
2018-01-09 23:57:25 +00:00
|
|
|
};
|
2018-01-19 02:02:23 +00:00
|
|
|
|