API Reference Erabi v#0.1.0

Copy Markdown View Source

Modules

Pickers for Phoenix LiveView: select, multi_select, combobox, tags, person_picker and color_picker, in Erabi.Components.

The rules of a picker (Erabi.Rules), checked on the server, in an Ecto.Changeset.

The emoji of the emoji picker (Erabi.Components.emoji_picker/1), on the server: their names in a language, a search by name, and a check that a value is an emoji, for a changeset or an agent's tool.

People and agents seen choosing, with Issho: a picker shows who has it open and the option they are on, and an agent that changes a value goes to the picker, opens it, and moves to the option before the value lands, for the people who watch.

The server side of the pickers in a LiveView: the searches of the pickers with search, and the events that change a picker from the server.

How a picker matches and ranks options as a person types, in Elixir.

The words of the pickers: placeholders, button labels, announcements for screen readers and the messages of a refused choice.

An option of a picker: its value, and how it shows.

What a picker accepts: the same rules in the browser, as people choose, and on the server, in Erabi.Changeset.

Helpers for Phoenix.LiveViewTest, to choose and search in tests with no browser.

Mix Tasks

Builds the Erabi pickers into priv/static.

Sets up Erabi in a Phoenix application.

Checks the built files before a release of Erabi.