web library
Browser-only hosting APIs for Artisanal programs.
Import this entrypoint from Dart web applications that render a Model into an HTML canvas.
Classes
- BrowserRunOptions
- Options for configuring runBrowserProgram.
Functions
-
runBrowserProgram(
Model model, {BrowserRunOptions options = const BrowserRunOptions()}) → Future< void> - Runs a Model in the browser, rendering to an HTML5 canvas element.