Appearance
@jtopo/core / CameraEvent
Class: CameraEvent
事件对象基类
Hierarchy
↳
CameraEvent
Table of contents
Constructors
Properties
Methods
Constructors
constructor
new CameraEvent(type, initData?)
Parameters
| Name | Type |
|---|---|
type | "zoom" |
initData? | Partial<CameraEvent> |
Overrides
Properties
bubbles
bubbles: boolean = false
Inherited from
cancelable
cancelable: boolean = false
Inherited from
composed
composed: boolean = false
Inherited from
defaultPrevented
defaultPrevented: boolean = false
Inherited from
type
type: string
Inherited from
zoomInfo
Optional zoomInfo: Object
Type declaration
| Name | Type |
|---|---|
factor | number |
x | number |
y | number |
Methods
preventDefault
preventDefault(): void
Returns
void