Skip to content

ObjectEvents

Defined in: src/EventTypeDefs.ts:291

Extends

Extended by

Properties

added

added: object

Defined in: src/EventTypeDefs.ts:305

target

target: Canvas | Group | StaticCanvas


contextmenu

contextmenu: SimpleEventHandler<Event>

Defined in: src/EventTypeDefs.ts:288

Inherited from

MiscEvents.contextmenu


contextmenu:before

contextmenu:before: SimpleEventHandler<Event>

Defined in: src/EventTypeDefs.ts:287

Inherited from

MiscEvents.contextmenu:before


deselected

deselected: Partial<TEvent> & object

Defined in: src/EventTypeDefs.ts:300

Type declaration

target

target: FabricObject


drag

drag: DragEventData

Defined in: src/EventTypeDefs.ts:218

Inherited from

DnDEvents.drag


dragend

dragend: DragEventData

Defined in: src/EventTypeDefs.ts:222

Inherited from

DnDEvents.dragend


dragenter

dragenter: DragEventData & InEvent

Defined in: src/EventTypeDefs.ts:220

Inherited from

DnDEvents.dragenter


dragleave

dragleave: DragEventData & OutEvent

Defined in: src/EventTypeDefs.ts:221

Inherited from

DnDEvents.dragleave


dragover

dragover: DragEventData

Defined in: src/EventTypeDefs.ts:219

Inherited from

DnDEvents.dragover


dragstart

dragstart: TEventWithTarget<DragEvent>

Defined in: src/EventTypeDefs.ts:217

Inherited from

DnDEvents.dragstart


drop

drop: DropEventData

Defined in: src/EventTypeDefs.ts:224

Inherited from

DnDEvents.drop


drop:after

drop:after: DropEventData

Defined in: src/EventTypeDefs.ts:225

Inherited from

DnDEvents.drop:after


drop:before

drop:before: DropEventData

Defined in: src/EventTypeDefs.ts:223

Inherited from

DnDEvents.drop:before


erasing:end

erasing:end: object

Defined in: src/EventTypeDefs.ts:309

path

path: FabricObject


modified

modified: ModifiedEvent

Defined in: src/EventTypeDefs.ts:138

Inherited from

ObjectModificationEvents.modified


modifyPath

modifyPath: BasicTransformEvent & ModifyPathEvent

Defined in: src/EventTypeDefs.ts:137

Inherited from

ObjectModificationEvents.modifyPath


modifyPoly

modifyPoly: BasicTransformEvent

Defined in: src/EventTypeDefs.ts:136

Inherited from

ObjectModificationEvents.modifyPoly


mousedblclick

mousedblclick: TPointerEventInfo

Inherited from

ObjectPointerEvents.mousedblclick


mousedown

mousedown: TPointerEventInfo

Inherited from

ObjectPointerEvents.mousedown


mousedown:before

mousedown:before: TPointerEventInfo

Inherited from

ObjectPointerEvents.mousedown:before


mousemove

mousemove: TPointerEventInfo

Inherited from

ObjectPointerEvents.mousemove


mousemove:before

mousemove:before: TPointerEventInfo

Inherited from

ObjectPointerEvents.mousemove:before


mouseout

mouseout: TPointerEventInfo & OutEvent

Inherited from

ObjectPointerEvents.mouseout


mouseover

mouseover: TPointerEventInfo & InEvent

Inherited from

ObjectPointerEvents.mouseover


mouseup

mouseup: TPointerEventInfo & object

Type declaration

currentSubTargets

currentSubTargets: FabricObject[]

currentTarget?

optional currentTarget: FabricObject

isClick

isClick: boolean

Inherited from

ObjectPointerEvents.mouseup


mouseup:before

mouseup:before: TPointerEventInfo & object

Type declaration

currentSubTargets

currentSubTargets: FabricObject[]

currentTarget?

optional currentTarget: FabricObject

isClick

isClick: boolean

Inherited from

ObjectPointerEvents.mouseup:before


mousewheel

mousewheel: TPointerEventInfo<WheelEvent>

Inherited from

ObjectPointerEvents.mousewheel


moving

moving: BasicTransformEvent

Defined in: src/EventTypeDefs.ts:131

Inherited from

ObjectModificationEvents.moving


removed

removed: object

Defined in: src/EventTypeDefs.ts:306

target

target: Canvas | Group | StaticCanvas


resizing

resizing: BasicTransformEvent

Defined in: src/EventTypeDefs.ts:135

Inherited from

ObjectModificationEvents.resizing


rotating

rotating: BasicTransformEvent

Defined in: src/EventTypeDefs.ts:133

Inherited from

ObjectModificationEvents.rotating


scaling

scaling: BasicTransformEvent

Defined in: src/EventTypeDefs.ts:132

Inherited from

ObjectModificationEvents.scaling


selected

selected: Partial<TEvent> & object

Defined in: src/EventTypeDefs.ts:297

Type declaration

target

target: FabricObject


skewing

skewing: BasicTransformEvent

Defined in: src/EventTypeDefs.ts:134

Inherited from

ObjectModificationEvents.skewing