# `AshUi.ActionEffect`
[🔗](https://github.com/hyperbob-labs/ash_ui/blob/main/lib/ash_ui/action_effect.ex#L1)

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.

# `name`

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

# `t`

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

# `target`

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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
