# `Yex.UndoManager.Options`
[🔗](https://github.com/satoren/y_ex/blob/main/lib/undo_manager.ex#L1)

Options for creating an UndoManager.

* `:capture_timeout` - Time in milliseconds to wait before creating a new capture group
* `:tracked_origins` - Origins to track from the start, as if each had been passed to
  `Yex.UndoManager.include_origin/2`. `nil` (the default) tracks only transactions
  without an origin. See "Tracked origins" in `Yex.UndoManager`.

# `t`

```elixir
@type t() :: %Yex.UndoManager.Options{
  capture_timeout: non_neg_integer(),
  tracked_origins: [term()] | nil
}
```

---

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