import { App } from "https://deno.land/x/astrodon@0.1.0-alpha.2/mod.ts";
Create a new app
Constructors
Properties
private
app_ptr: Deno.UnsafePointer | undefinedprivate
lib: Deno.DynamicLibrary<AppMethods>Methods
App.getAppPath() returns the path where the app is located including assets and executable It is dynamic and depends on the environment and context of the app This is a user scope method.
registerWindow(window: WindowConfig)
Registers windows on Deno's side Dev Note: we should register directly on rust to handle the windows as instances This is still not possible since we don't have callbacks support with FFI. See: https://github.com/denoland/deno/pull/13162
run(): void
send(msg: string): void
Static Methods
new(options?)