public class GwtImageResource extends AbstractDirective
Note that GWT ImageResource does not always generate <IMG> HTML tag,
and the DOM created by this object may be far more complex (in order to
support inlining of Base64 encoded images, or image spriting).
http://www.gwtproject.org/doc/latest/DevGuideClientBundle.html#ImageResource
Directive.Restrict| Constructor and Description |
|---|
GwtImageResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
link(NGScope scope,
JQElement element,
com.asayama.gwt.jsni.client.JSON attrs)
Replaces the element body with the ImageResource passed via
gwt-image-resource attribute.
|
NGScope |
scope()
Creates isolateScope and registers the following attribute definition.
|
compile, getName, getRestrict, getTemplate, getTemplateUrl, getTransclude, setNamepublic NGScope scope()
ImageResource gwt-image-resourcescope in interface Directivescope in class AbstractDirectiveCopyright © 2014. All rights reserved.