public interface ExternalSVGResource
extends com.google.gwt.resources.client.ResourcePrototype
SVGResource
, except the contents of the resource are
not inlined into the compiled output. This is suitable for resources that are
not required as part of program initialization.
Note that by default SVG resources are validated against the SVG 1.1 XSD schema.
You can opt out of validation by setting the validated="false"
attribute on the annotation.Modifier and Type | Interface and Description |
---|---|
static interface |
ExternalSVGResource.Validated
Specifies additional options to control how an SVG is bundled.
|
Modifier and Type | Method and Description |
---|---|
void |
getSvg(com.google.gwt.resources.client.ResourceCallback<SVGResource> callback)
Starts an asynchronous request to retrieve the root element of the SVG resource.
|
void getSvg(com.google.gwt.resources.client.ResourceCallback<SVGResource> callback) throws com.google.gwt.resources.client.ResourceException
callback
- The callback interface to invoke once the resource has been retrievedcom.google.gwt.resources.client.ResourceException
Copyright © 2018. All Rights Reserved.