---
title: "webimage-preview"
kind: "module"
module: "webimage-preview"
version: "25.6.0-elide.4"
canonical: "https://graalvm.elide.help/25.6.0-elide.4/api/webimage-preview/index.html"
---

# ⬢ webimage-preview 25.6.0-elide.4

Every page: [llms.txt](llms.txt), or all in one file: [llms-full.txt](llms-full.txt)

API reference for webimage-preview.

## Packages

- [`org.graalvm.webimage.api`](org/graalvm/webimage/api/index.md): This package provides an interface between Java code and the embedding JavaScript code.

## Types in `org.graalvm.webimage.api`

- [`JS`](org/graalvm/webimage/api/JS.md) (annotation interface): Replaces the body of a Java method with JavaScript code.
- [`JS.Code`](org/graalvm/webimage/api/JS.Code.md) (annotation interface): A snippet of JavaScript code that must be included in the image.
- [`JS.Code.Include`](org/graalvm/webimage/api/JS.Code.Include.md) (annotation interface): Designates the path to the JavaScript file with the code that must be included in the image.
- [`JS.Code.Include.Group`](org/graalvm/webimage/api/JS.Code.Include.Group.md) (annotation interface): No description.
- [`JS.Coerce`](org/graalvm/webimage/api/JS.Coerce.md) (annotation interface): When this annotation is used together with the JS annotation, the arguments and return values of the respective method undergo implicit Java-to-JavaScript and JavaScript-to-Java conversions.
- [`JS.Export`](org/graalvm/webimage/api/JS.Export.md) (annotation interface): Denotes that the annotated Java class should be exported from the VM class.
- [`JS.Import`](org/graalvm/webimage/api/JS.Import.md) (annotation interface): Denotes that the annotated class represents a JavaScript class from the global scope.
- [`JSBigInt`](org/graalvm/webimage/api/JSBigInt.md) (class): Java representation of a JavaScript BigInt value.
- [`JSBoolean`](org/graalvm/webimage/api/JSBoolean.md) (class): Java representation of a JavaScript Boolean value.
- [`JSNumber`](org/graalvm/webimage/api/JSNumber.md) (class): Java representation of a JavaScript Number value.
- [`JSObject`](org/graalvm/webimage/api/JSObject.md) (class): A JSObject is a Java-side wrapper for JavaScript objects.
- [`JSResource`](org/graalvm/webimage/api/JSResource.md) (annotation interface): No description.
- [`JSResource.Group`](org/graalvm/webimage/api/JSResource.Group.md) (annotation interface): No description.
- [`JSString`](org/graalvm/webimage/api/JSString.md) (class): Java representation of a JavaScript String value.
- [`JSSymbol`](org/graalvm/webimage/api/JSSymbol.md) (class): Java representation of a JavaScript Symbol value.
- [`JSUndefined`](org/graalvm/webimage/api/JSUndefined.md) (class): Java representation of the JavaScript undefined value.
- [`JSValue`](org/graalvm/webimage/api/JSValue.md) (abstract class): Java representation of a JavaScript value.
- [`ThrownFromJavaScript`](org/graalvm/webimage/api/ThrownFromJavaScript.md) (exception): Represents the error value thrown in JavaScript.
