Skip to content

Class: CameraEvent

事件对象基类

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new CameraEvent(type, initData?)

Parameters

NameType
type"zoom"
initData?Partial<CameraEvent>

Overrides

EventBase.constructor

Properties

bubbles

bubbles: boolean = false

Inherited from

EventBase.bubbles


cancelable

cancelable: boolean = false

Inherited from

EventBase.cancelable


composed

composed: boolean = false

Inherited from

EventBase.composed


defaultPrevented

defaultPrevented: boolean = false

Inherited from

EventBase.defaultPrevented


type

type: string

Inherited from

EventBase.type


zoomInfo

Optional zoomInfo: Object

Type declaration

NameType
factornumber
xnumber
ynumber

Methods

preventDefault

preventDefault(): void

Returns

void

Inherited from

EventBase.preventDefault