goog.ui.media.Media
instances and renders it.
This design is patterned after
http://go/closure_control_subclassing
![]()
No description.
|
code » | ||
A static convenient method to construct a goog.ui.media.Media control out of
a photo
goog.ui.media.MediaModel . It sets it as the data model
goog.ui.media.Photo renderer uses, sets the states supported by the renderer,
and returns a Control that binds everything together. This is what you
should be using for constructing Photos, except if you need finer control
over the configuration.
Arguments:
Returns: !goog.ui.media.Media
A goog.ui.Control subclass with the photo
renderer.
|
code » |