| Package | Description |
|---|---|
| com.vaadin.client |
| Modifier and Type | Method and Description |
|---|---|
static void |
ResourceLoader.addOnloadHandler(com.google.gwt.dom.client.Element element,
ResourceLoader.ResourceLoadListener listener,
ResourceLoader.ResourceLoadEvent event)
Adds an onload listener to the given element, which should be a link or a
script tag.
|
void |
ResourceLoader.loadScript(String scriptUrl,
ResourceLoader.ResourceLoadListener resourceLoadListener)
Load a script and notify a listener when the script is loaded.
|
void |
ResourceLoader.loadScript(String scriptUrl,
ResourceLoader.ResourceLoadListener resourceLoadListener,
boolean async)
Load a script and notify a listener when the script is loaded.
|
void |
ResourceLoader.loadStylesheet(String stylesheetUrl,
ResourceLoader.ResourceLoadListener resourceLoadListener)
Load a stylesheet and notify a listener when the stylesheet is loaded.
|
void |
ResourceLoader.preloadResource(String url,
ResourceLoader.ResourceLoadListener resourceLoadListener)
Download a resource and notify a listener when the resource is loaded
without attempting to interpret the resource.
|
Copyright © 2016 Vaadin Ltd. All rights reserved.