@JsType(isNative=true) public class JsFileSaver extends Object
org.webjars.bower.filesaver.| Constructor and Description |
|---|
JsFileSaver() |
| Modifier and Type | Method and Description |
|---|---|
static void |
saveAs(org.jboss.errai.common.client.dom.Blob blob,
String fileName)
Saves the given blob's content into a file.
|
@JsMethod
public static void saveAs(org.jboss.errai.common.client.dom.Blob blob,
String fileName)
blob - The blob data.fileName - The file name.Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.