AshUi.ActionEffect (ash_ui v0.1.0)

Copy Markdown View Source

A one-shot browser affordance emitted by a successful Ash action.

Action effects are deliberately limited to DOM commands that cannot be represented as durable resource state. They are delivered by the host adapter after the action succeeds and are never replayed by re-rendering.

Summary

Types

name()

@type name() :: :focus | :scroll_into_view | :select_text

t()

@type t() :: %AshUi.ActionEffect{name: name(), options: map(), target: target()}

target()

@type target() :: {:id, String.t()} | {:part, String.t()}