Packages

Native desktop GUI framework for Elixir, powered by Iced

Current section

Files

Jump to
plushie lib plushie type position.ex
Raw

lib/plushie/type/position.ex

defmodule Plushie.Type.Position do
@moduledoc """
Placement value for the tooltip `position` prop.
Maps to iced's `tooltip::Position` enum.
"""
use Plushie.Type
@type t :: :top | :bottom | :left | :right | :follow_cursor
enum([:top, :bottom, :left, :right, :follow_cursor])
end