ZoomPanContainerProps
Interface: ZoomPanContainerProps
Defined in: components/layout/ZoomPanContainer.tsx:27
Свойства ZoomPanContainer.
Properties
allowRightClickPan?
optionalallowRightClickPan:boolean
Defined in: components/layout/ZoomPanContainer.tsx:59
Разрешить панорамирование правой кнопкой мыши.
children
children:
ReactNode
Defined in: components/layout/ZoomPanContainer.tsx:29
Контент, который будет масштабироваться и панорамироваться.
className?
optionalclassName:string
Defined in: components/layout/ZoomPanContainer.tsx:53
Дополнительный className для контейнера.
contentClassName?
optionalcontentClassName:string
Defined in: components/layout/ZoomPanContainer.tsx:56
Дополнительный className для контента.
disableWheelZoom?
optionaldisableWheelZoom:boolean
Defined in: components/layout/ZoomPanContainer.tsx:50
Отключить масштабирование колёсиком.
maxScale?
optionalmaxScale:number
Defined in: components/layout/ZoomPanContainer.tsx:41
Максимальный масштаб.
minScale?
optionalminScale:number
Defined in: components/layout/ZoomPanContainer.tsx:38
Минимальный масштаб.
onChange()?
optionalonChange: (next) =>void
Defined in: components/layout/ZoomPanContainer.tsx:35
Обработчик изменения трансформации.
Parameters
next
Returns
void
panMode?
optionalpanMode:ZoomPanMode
Defined in: components/layout/ZoomPanContainer.tsx:47
Режим панорамирования.
value?
optionalvalue:ZoomPanValue
Defined in: components/layout/ZoomPanContainer.tsx:32
Управляемое значение трансформации.
zoomStep?
optionalzoomStep:number
Defined in: components/layout/ZoomPanContainer.tsx:44
Шаг масштабирования при колесе.