API Reference star_view v#0.3.5

Copy Markdown

Modules

Elixir SDK helpers for Datastar.

Datastar action expression helpers.

Phoenix controller helpers for StarView.

Marker-based Datastar dispatch for Phoenix controllers.

Datastar datastar-patch-elements helpers.

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

Allowlisted Datastar event dispatch plug.

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

Plug-based Datastar Server-Sent Event generator.

Script helpers implemented through Datastar element patches.

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

Starts mix phx.server with browser opening enabled.

Configures StarView dev URL and HTTPS

Generates an example StarView demo controller with Datastar

Adds StarView stream registry to the supervision tree

Adds a StarView section to the Phoenix web module