API Documentation
This document is a direct API reference for the current runtime surface, organized by runtime layer. The module root no longer exposes a Go package; import the layer-specific packages below.
Import Path
Split imports by runtime role:
import (
mb "github.com/YoshihideShirai/marionette/backend"
md "github.com/YoshihideShirai/marionette/desktop"
mf "github.com/YoshihideShirai/marionette/frontend"
mh "github.com/YoshihideShirai/marionette/frontend/html"
)
- Recommended aliases:
mb(marionette backend),mf(marionette frontend). - Use
mbfor app/runtime APIs such asNew,App,Context,Handler. - Use
mdfor desktop runtime APIs such asdesktop.Run. - Use
mffor component APIs such asButton,Card,Table,FormRow. - Use
mhfor advanced low-level node APIs such asNode,Div,Element,Raw. - Low-level constructors are intentionally not exposed from
frontend; importfrontend/htmlwhen custom markup is needed.