package jsenv
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- trait AsyncJSEnv extends JSEnv
- trait AsyncJSRunner extends AnyRef
-
trait
ComJSEnv
extends AsyncJSEnv
An AsyncJSEnv that provides communication to and from the JS VM.
An AsyncJSEnv that provides communication to and from the JS VM.
Inside the VM there is a global JavaScript object named
scalajsCom
that can be used to control the message channel. It's operations are:// initialize com (with callback) scalajsCom.init(function(msg) { console.log("Received: " + msg); }); // send a message to host system scalajsCom.send("my message"); // close com (releases callback, allowing VM to terminate) scalajsCom.close();
- trait ComJSRunner extends AsyncJSRunner
- abstract class ExternalJSEnv extends AsyncJSEnv
-
trait
JSConsole
extends AnyRef
Trait representing a JS console
- trait JSEnv extends AnyRef
- trait JSInitFiles extends AnyRef
- trait JSRunner extends AnyRef
-
final
class
VirtualFileMaterializer
extends AnyRef
A helper class to temporarily store virtual files to the filesystem.
A helper class to temporarily store virtual files to the filesystem.
Can be used with tools that require real files.
Value Members
- object ComJSEnv
-
object
ConsoleJSConsole
extends JSConsole
A JS console that prints on the console
- object ExternalJSEnv
- object NullJSConsole extends JSConsole