# `Plushie.Type.Anchor`
[🔗](https://github.com/plushie-ui/plushie-elixir/blob/v0.6.0/lib/plushie/type/anchor.ex#L1)

Anchor values for the scrollbar `alignment` prop.

Maps to iced's `scrollable::Anchor` enum.

# `t`

```elixir
@type t() :: :start | :end
```

# `encode`

```elixir
@spec encode(anchor :: t()) :: String.t()
```

Encodes an anchor value to the wire format.

## Examples

    iex> Plushie.Type.Anchor.encode(:start)
    "start"

    iex> Plushie.Type.Anchor.encode(:end)
    "end"

---

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