跳转到内容

ObjectEvents

Extends

Extended by

Properties

added

added: object

target

target: Canvas | Group | StaticCanvas<StaticCanvasEvents>

Defined in

src/EventTypeDefs.ts:305


contextmenu

contextmenu: SimpleEventHandler<Event>

Inherited from

MiscEvents.contextmenu

Defined in

src/EventTypeDefs.ts:288


contextmenu:before

contextmenu:before: SimpleEventHandler<Event>

Inherited from

MiscEvents.contextmenu:before

Defined in

src/EventTypeDefs.ts:287


deselected

deselected: Partial<TEvent<TPointerEvent>> & object

Type declaration

target

target: FabricObject<Partial<FabricObjectProps>, SerializedObjectProps, ObjectEvents>

Defined in

src/EventTypeDefs.ts:300


drag

drag: DragEventData

Inherited from

DnDEvents.drag

Defined in

src/EventTypeDefs.ts:218


dragend

dragend: DragEventData

Inherited from

DnDEvents.dragend

Defined in

src/EventTypeDefs.ts:222


dragenter

dragenter: DragEventData & InEvent

Inherited from

DnDEvents.dragenter

Defined in

src/EventTypeDefs.ts:220


dragleave

dragleave: DragEventData & OutEvent

Inherited from

DnDEvents.dragleave

Defined in

src/EventTypeDefs.ts:221


dragover

dragover: DragEventData

Inherited from

DnDEvents.dragover

Defined in

src/EventTypeDefs.ts:219


dragstart

dragstart: TEventWithTarget<DragEvent>

Inherited from

DnDEvents.dragstart

Defined in

src/EventTypeDefs.ts:217


drop

drop: DropEventData

Inherited from

DnDEvents.drop

Defined in

src/EventTypeDefs.ts:224


drop:after

drop:after: DropEventData

Inherited from

DnDEvents.drop:after

Defined in

src/EventTypeDefs.ts:225


drop:before

drop:before: DropEventData

Inherited from

DnDEvents.drop:before

Defined in

src/EventTypeDefs.ts:223


erasing:end

erasing:end: object

path

path: FabricObject<Partial<FabricObjectProps>, SerializedObjectProps, ObjectEvents>

Defined in

src/EventTypeDefs.ts:309


modified

modified: ModifiedEvent<TPointerEvent>

Inherited from

ObjectModificationEvents.modified

Defined in

src/EventTypeDefs.ts:138


modifyPath

modifyPath: BasicTransformEvent<TPointerEvent> & ModifyPathEvent

Inherited from

ObjectModificationEvents.modifyPath

Defined in

src/EventTypeDefs.ts:137


modifyPoly

modifyPoly: BasicTransformEvent<TPointerEvent>

Inherited from

ObjectModificationEvents.modifyPoly

Defined in

src/EventTypeDefs.ts:136


mousedblclick

mousedblclick: TPointerEventInfo<TPointerEvent>

Inherited from

ObjectPointerEvents.mousedblclick


mousedown

mousedown: TPointerEventInfo<TPointerEvent>

Inherited from

ObjectPointerEvents.mousedown


mousedown:before

mousedown:before: TPointerEventInfo<TPointerEvent>

Inherited from

ObjectPointerEvents.mousedown:before


mousemove

mousemove: TPointerEventInfo<TPointerEvent>

Inherited from

ObjectPointerEvents.mousemove


mousemove:before

mousemove:before: TPointerEventInfo<TPointerEvent>

Inherited from

ObjectPointerEvents.mousemove:before


mouseout

mouseout: TPointerEventInfo<TPointerEvent> & OutEvent

Inherited from

ObjectPointerEvents.mouseout


mouseover

mouseover: TPointerEventInfo<TPointerEvent> & InEvent

Inherited from

ObjectPointerEvents.mouseover


mouseup

mouseup: TPointerEventInfo<TPointerEvent> & object

Type declaration

currentSubTargets

currentSubTargets: FabricObject<Partial<FabricObjectProps>, SerializedObjectProps, ObjectEvents>[]

currentTarget?

optional currentTarget: FabricObject<Partial<FabricObjectProps>, SerializedObjectProps, ObjectEvents>

isClick

isClick: boolean

Inherited from

ObjectPointerEvents.mouseup


mouseup:before

mouseup:before: TPointerEventInfo<TPointerEvent> & object

Type declaration

currentSubTargets

currentSubTargets: FabricObject<Partial<FabricObjectProps>, SerializedObjectProps, ObjectEvents>[]

currentTarget?

optional currentTarget: FabricObject<Partial<FabricObjectProps>, SerializedObjectProps, ObjectEvents>

isClick

isClick: boolean

Inherited from

ObjectPointerEvents.mouseup:before


mousewheel

mousewheel: TPointerEventInfo<WheelEvent>

Inherited from

ObjectPointerEvents.mousewheel


moving

moving: BasicTransformEvent<TPointerEvent>

Inherited from

ObjectModificationEvents.moving

Defined in

src/EventTypeDefs.ts:131


removed

removed: object

target

target: Canvas | Group | StaticCanvas<StaticCanvasEvents>

Defined in

src/EventTypeDefs.ts:306


resizing

resizing: BasicTransformEvent<TPointerEvent>

Inherited from

ObjectModificationEvents.resizing

Defined in

src/EventTypeDefs.ts:135


rotating

rotating: BasicTransformEvent<TPointerEvent>

Inherited from

ObjectModificationEvents.rotating

Defined in

src/EventTypeDefs.ts:133


scaling

scaling: BasicTransformEvent<TPointerEvent>

Inherited from

ObjectModificationEvents.scaling

Defined in

src/EventTypeDefs.ts:132


selected

selected: Partial<TEvent<TPointerEvent>> & object

Type declaration

target

target: FabricObject<Partial<FabricObjectProps>, SerializedObjectProps, ObjectEvents>

Defined in

src/EventTypeDefs.ts:297


skewing

skewing: BasicTransformEvent<TPointerEvent>

Inherited from

ObjectModificationEvents.skewing

Defined in

src/EventTypeDefs.ts:134