ImageDOMDrawable¶
Overview¶
DOM drawable for Image nodes.
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class ImageDOMDrawable¶
Constructor¶
new ImageDOMDrawable( renderer, instance )¶
Instance Methods¶
initialize( renderer, instance )¶
@param {number} renderer @param {Instance} instance
updateDOM()¶
Updates our DOM element so that its appearance matches our node's representation. @protected
This implements part of the DOMSelfDrawable required API for subtypes.
dispose()¶
Disposes the drawable. @public @override
Source Code¶
See the source for ImageDOMDrawable.js in the scenery repository.