Packages
Multi-surface application runtime for Elixir. One TEA module renders to terminal, browser (LiveView), SSH, and MCP (agents). 30+ widgets, flexbox + CSS grid, AI agent runtime, distributed swarm with CRDTs, time-travel debugging, session recording, sandboxed REPL, and agentic commerce.
Current section
Files
Jump to
Current section
Files
lib/raxol/core/clipboard/behaviour.ex
defmodule Raxol.Core.Clipboard.Behaviour do
@moduledoc """
Behaviour for clipboard operations.
"""
@doc """
Copies text to the clipboard.
"""
@callback copy(content :: String.t()) :: :ok | {:error, any()}
@doc """
Pastes text from the clipboard.
"""
@callback paste() :: {:ok, String.t()} | {:error, any()}
end