Called when the movable is copied to a new container.
Optionaloptions: IMovable.CopyOptionsOptionalgetRetrieves the coordinates that bound the current snapshot.
OptionalgetA user friendly name of a the snapshot item.
The source that created the snapshot. This is used to quickly do comparisons.
OptionalprepareDoes the asynchronous work a copy needs, before copyTo is called.
The destination the snapshot will be copied to.
Optionaloptions: CopyToOptions
A copy is made inside the destination's transaction, which must not be held open across an
await. Anything that has to wait - loading a kind of content, decoding an image - is done
here, with the destination the copy will be made to, so that copyTo can complete
synchronously. A snapshot with nothing to wait for leaves this out, or returns void.
OptionaltoConverts the snapshot to an HTML representation.
A string or promise resolving to the HTML representation of the snapshot.
OptionaltoConverts the snapshot to an image blob.
A Blob or promise resolving to the image representation of the snapshot.
OptionaltoConverts the snapshot to a JSON object.
A JSON object or promise resolving to the JSON representation of the snapshot.
OptionaltoConverts the snapshot to a plain text representation.
A string or promise resolving to the text representation of the snapshot.
Represents an immutable reference to an
Record, capturing its content and metadata.