API Reference star_view v#0.3.2

Copy Markdown

Modules

Elixir SDK helpers for Datastar.

Datastar action expression helpers.

Datastar datastar-patch-elements helpers.

Tiny wrapper around Erlang/OTP's native :json module.

Phoenix controller helpers for StarView.

Marker-based Datastar dispatch for Phoenix controllers.

Allowlisted Datastar event dispatch plug.

Copies a Datastar CSRF signal into _csrf_token for Plug.CSRFProtection.

Script helpers implemented through Datastar element patches.

Plug-based Datastar Server-Sent Event generator.

Datastar signal reading and datastar-patch-signals helpers.

Raised when Datastar signals cannot be decoded from the request body.

Behaviour for StarView-enabled Phoenix controllers.

Opt-in per-tab stream deduplication.

Mix Tasks

Installs StarView into your project

Configures Datastar dispatch routes and HTTPS for dev

Generates an example StarView demo controller with Datastar

Adds StarView stream registry to the supervision tree

Patches the Phoenix web module with StarView controller support