Interface: BrowserImageDataReadyEvent
Base interface for all m2c2kit events.
Remarks
I would have named it Event, but that would collide with the existing DOM Event
Extends
Properties
dataUrl?
optional
dataUrl:string
The image data URL.
Source
handled?
optional
handled:boolean
Has the event been taken care of by the listener and not be dispatched to other targets?
Inherited from
Source
height
height:
number
Height to scale image to
Source
imageName
imageName:
string
The image name.
Source
iso8601Timestamp
iso8601Timestamp:
string
Timestamp of th event, from new Date().toISOString()
Inherited from
Source
sequence?
optional
sequence:number
Sequence number of event.
Remarks
Sequence number is guaranteed to reflect order of events, but not necessarily contiguous, e.g., could be 1, 2, 5, 10, 11, 24.
Inherited from
Source
svgString?
optional
svgString:string
SVG string
Source
target
target:
ImageManager
The object on which the event occurred. If the event has gone through serialization, the string will be the object's UUID (if an M2Node
) or class name.
Overrides
Source
timestamp
timestamp:
number
Timestamp of the event, from performance.now()
Inherited from
Source
type
type:
"BrowserImageDataReady"
Type of event.
Overrides
Source
width
width:
number
Width to scale image to