Class: ImageEvent
Hierarchy
↳
ImageEvent
Implements
Table of contents
Constructors
Properties
- origin
- type
- target
- current
- bubbles
- phase
- isStopDefault
- isStop
- isStopNow
- LOAD
- LOADED
- ERROR
- image
- error
- attrName
- attrValue
Methods
Constructors
constructor
• new ImageEvent(type
, data
): ImageEvent
Parameters
Name | Type |
---|---|
type | string |
data | IImageEvent |
Returns
Overrides
Defined in
leafer/packages/event/src/ImageEvent.ts:17
Properties
origin
• Readonly
origin: IObject
Implementation of
Inherited from
Defined in
leafer/packages/event/src/Event.ts:7
type
• Readonly
type: string
Implementation of
Inherited from
Defined in
leafer/packages/event/src/Event.ts:9
target
• Readonly
target: IEventTarget
Implementation of
Inherited from
Defined in
leafer/packages/event/src/Event.ts:10
current
• Readonly
current: IEventTarget
Implementation of
Inherited from
Defined in
leafer/packages/event/src/Event.ts:11
bubbles
• Readonly
bubbles: boolean
= false
Implementation of
Inherited from
Defined in
leafer/packages/event/src/Event.ts:13
phase
• Readonly
phase: number
Implementation of
Inherited from
Defined in
leafer/packages/event/src/Event.ts:14
isStopDefault
• isStopDefault: boolean
Implementation of
Inherited from
Defined in
leafer/packages/event/src/Event.ts:16
isStop
• isStop: boolean
Implementation of
Inherited from
Defined in
leafer/packages/event/src/Event.ts:17
isStopNow
• isStopNow: boolean
Implementation of
Inherited from
Defined in
leafer/packages/event/src/Event.ts:18
LOAD
▪ Static
LOAD: string
= 'image.load'
Defined in
leafer/packages/event/src/ImageEvent.ts:7
LOADED
▪ Static
LOADED: string
= 'image.loaded'
Defined in
leafer/packages/event/src/ImageEvent.ts:8
ERROR
▪ Static
ERROR: string
= 'image.error'
Defined in
leafer/packages/event/src/ImageEvent.ts:9
image
• Readonly
image: ILeaferImage
Implementation of
Defined in
leafer/packages/event/src/ImageEvent.ts:11
error
• Readonly
error: string
| IObject
Implementation of
Defined in
leafer/packages/event/src/ImageEvent.ts:12
attrName
• Readonly
attrName: string
Implementation of
Defined in
leafer/packages/event/src/ImageEvent.ts:14
attrValue
• Readonly
attrValue: IObject
Implementation of
Defined in
leafer/packages/event/src/ImageEvent.ts:15
Methods
stopDefault
▸ stopDefault(): void
Returns
void
Implementation of
Inherited from
Defined in
leafer/packages/event/src/Event.ts:25
stopNow
▸ stopNow(): void
Returns
void
Implementation of
Inherited from
Defined in
leafer/packages/event/src/Event.ts:30
stop
▸ stop(): void
Returns
void