ElementImage: close() method

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Want more browser support for this feature? Tell us why.

The close() method of the ElementImage interface removes an ElementImage, freeing up the memory used to store it.

Syntax

js
close()

Parameters

None.

Return value

None (undefined).

Examples

See the main ElementImage page for an example.

Specifications

This feature does not appear to be defined in any specification.

Browser compatibility

See also